fix Issue 10475 - destructor is called on 'for' loop variable even when initialization failed
fix Issue 4899 - Ddoc: Warnings about stray parens do not include file and line numbers for module comments

Add ModuleDeclaration::loc and use it for "Stray paren" ddoc warning.
Merge pull request #2286 from 9rnsr/fix10475

Issue 10475 - destructor is called on 'for' loop variable even when initialization failed
Merge pull request #2291 from 9rnsr/fix4899

Issue 4899 - Ddoc: Warnings about stray parens do not include file and line numbers for module comments
fix Issue 10254 - Purity correctness is broken with constructor
Merge pull request #2135 from 9rnsr/fix10254

Issue 10254 - Purity correctness is broken with constructor