more selective editorconfig

- only apply config to C and D source files
fix Issue 10326 - Disallow 'invariant' for immutable, allow class/struct invariants without (), and later disallow usage of ()
Replace 'invariant' to 'immutable' in comments
Merge pull request #3538 from MartinNowak/editorconfig

more selective editorconfig
Add TemplateParameter::hasDefaultArg
fix Issue 12728 - IFTI should consider instantiated types that has template parameters with default args
Merge pull request #3537 from 9rnsr/fix12719

[REG2.066a] Issue 12719 - struct.c:705: virtual void StructDeclaration::semantic(Scope*): Assertion `parent && parent == sc->parent' failed.
Merge pull request #3539 from 9rnsr/fix12728

[REG2.066a] Issue 12728 - IFTI should consider instantiated types that has template parameters with default args
Merge pull request #3540 from 9rnsr/fix10326

Issue 10326 - Disallow 'invariant' for immutable, allow class/struct invariants without (), and later disallow usage of ()
fix Issue 12719 - struct.c:705: virtual void StructDeclaration::semantic(Scope*): Assertion `parent && parent == sc->parent' failed.