Let’s start by establishing what rules we do have:
At 5th level, [...] This ability functions like the alternate form special ability, except as noted here.
Nothing “noted here” says anything about feats.
A creature with this special quality has the ability to assume one or more specific alternate forms. [...]
- Except as described elsewhere, the creature retains all other game statistics of its original form, including (but not necessarily limited to) [...] feats [...]
Again, nothing “elsewhere,” either in alternate form or wild shape, contradicts the general statement that the creatures retains its feats.
Some feats have prerequisites. Your character must have the indicated ability score, class feature, feat, skill, base attack bonus, or other quality designated in order to select or use that feat. A character can gain a feat at the same level at which he or she gains the prerequisite.
A character can’t use a feat if he or she has lost a prerequisite.
Here is the only thing that suggests a druid might lose (the use of) a feat when using wild shape: if the druid loses the prerequisites for that feat. This might be due to changed ability scores, loss of features from the druid’s original form, or whatever else—see the full description of alternate form for a full list of things a druid might lose during wild shape, and compare that against the prerequisites of any feats the druid may have.
Flaws are like the flip side of feats. Whereas a feat enables a character to be better than normal at performing a task (or even to do something that normal characters can't), a flaw restricts a character's capabilities or imposes a penalty of some sort.
A player may select up to two flaws when creating a character. After 1st level, a character cannot take on additional flaws unless the game master specifically allows it (for examples of times when doing this might be appropriate, see Character Traits). Each flaw a player selects entitles his character to a bonus feat. In other words, when you create a character, if you select two flaws, you can also take two bonus feats beyond those your character would be normally entitled to.
Unlike traits, flaws are entirely negative in their impact on a character's capabilities.
So here we have flaws as “the flip side of feats,” and each functions like a “negative” feat, both in having a negative impact on your character and in allowing you to take another feat to balance it out. Moreover, remember what alternate form said: “Except as described elsewhere, the creature retains all other game statistics of its original form, including (but not necessarily limited to)”—this is where flaws would fall, an “other game statistic of its original form” not listed here, but it doesn’t need to be.
In other words, yes, you retain all flaws when you wild shape. Some flaws do have prerequisites, which aren’t as well-defined as those of feats, but are probably fair to treat much like feat prerequisites: if wild shape eliminates the prerequisite, it also eliminates the flaw. In most cases, without the prerequisite, the flaw won’t make much sense anyway. But if you find a case where that isn’t the case, since flaws are under-defined, I would expect the DM to make an ad hoc decision on it.