[Refactoring] Reorder function declarations
Check redundant/conflicting attributes more
Check invalid syntax and redundancy on static constructors

Improve diagnostic for issue 6677.
Set prefix attributes in storage_class of (Unittest|New|Delete)Declaration

Partially fix issue 8081.
Merge pull request #4044 from 9rnsr/fix_parse

Improve parsing issues around attributes