Fix another broken case of qualified anchors.

The previous fix didn't work for template members of templated structs.
Update ddoc test to expect fully-qualified symbols.
Fixup

Remove redundant braces.
Merge pull request #3695 from quickfur/more_ddoc_anchors

DDOC fully-qualified anchors for template members of template structs/classes
Make header generation stable
Refactor redundant/conflicting storage class handling

Check redundant/conflicting attributes between prefix and postfix