Move AggregateDeclaration's access checking methods into free functions in access.c
[Refactoring] Remove parseTemplateArgumentList2
[Refactoring] Rename to parseTemplateSingleArgument
[Refactoring] Add parseTemplateArguments
fix Issue 1566 - Nested template issue
fix Issue 12201 - Crash on forward reference import within mixed in template
Merge pull request #3286 from 9rnsr/fix12201

Issue 12201 - Crash on forward reference import within mixed in template
Move Module::toCBuffer and genhdrfile into free functions
fix Issue 12207 - IFTI fails for static method of immutable type
Move FuncDeclaration::isBuiltin into a free function
fix Issue 12203 - typeof(null) does not convert to "void delegate(float)"
Move ForeachStatement::inferAggregate into a free function
Move ForeachStatement::inferApplyArgTypes into a free function
Move SliceExp::toStaticArrayType into a free function
Move BinExp::scaleFactor into a free function
Move BinExp::typeCombine into a free function
Move Expression::inferType into a visitor class
Move Type::deduceWildHelper into a free funciton
Move Type::deduceTypeHelper into a free funciton
Merge pull request #3291 from 9rnsr/fix12207

Issue 12207 - IFTI fails for static method of immutable type