Fix issue 10236 Ddoc: Warning on wrong parameter names/count
Fixed indentation (removed tabs)
Fix issue 10236 test case
Fix issue 10236: allow template parameters in Params section + test
fix Issue 9565 - Index of static array should not print literal suffix

Static array type index is always size_t, so unnecessary suffix is harmful for platform independent diagnostic message.
(Note that: In 64bit platform, size_t is ulong, and if the value is greater than long.max, suffix is *necessary*.)

Same problem exists in IndexExp and SliceExp printing.
[trivial] move void parameter check position

TypeFunction::callMatch, and functionParamters does it first, so mimic them.
fix Issue 10630 - Structs with disabled default construction can't be used as `out` parameters
fix bug10115 test case
Partial fix for Issue 10666 - Appender does not work with a RefCounted type

Essentially this is neigher dmd nor phobos regression, but recent Appender change in 2.064a should not raise "cannot build closure" error.
fix Issue 9948 - -deps dependency printing incorrect for templates

This fix is based on the just merged pull request:

 https://github.com/D-Programming-Language/dmd/pull/2550

by Walter Bright. It made this fix trivial (at least the test case in the bug report is working correctly now).
Added a simple test case for 9948.
Adopted test case to D coding styles.
Hopefully fixed auto test issues.
refactor to use semanticRun in enum
Merge pull request #2553 from eskimor/fix9948

fix Issue 9948 - -deps dependency printing incorrect for templates
Merge pull request #2554 from AndrejMitrovic/Fix10984

Issue 10984 - Better diagnostic for static function frame access error
Merge pull request #2555 from WalterBright/to-semanticRun

refactor to use semanticRun in enum
refactor: remove semantic0 hack
Merge pull request #2548 from 9rnsr/fix10666

Partial fix for Issue 10666 - Appender does not work with a RefCounted type
Merge pull request #2510 from 9rnsr/fix10630

Issue 10630 - Structs with disabled default construction can't be used as `out` parameters