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.
refactor to use semanticRun in enum
Merge pull request #2555 from WalterBright/to-semanticRun

refactor to use semanticRun in enum
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
Merge pull request #2522 from 9rnsr/fix9565

Issue 9565 - Index of static array should not print literal suffix
Merge pull request #2121 from lionello/bug10236

Fix issue 10236 Ddoc: Warning on wrong parameter names/count