[Refactoring] Set ismixin and literal in parsing phase

They won't be modified in semantic phase, so pass them by constructor arguments of `TemplateDeclaration`.
fix Issue 11533 - Compiler should allow to being nested for static local template functions
Merge pull request #2794 from 9rnsr/fix11533

Issue 11533 - Compiler should allow to being nested for static local template functions
Merge pull request #2805 from yebblies/mkstemp

[DDMD] Fix mkstemp stuff to be valid D.
Expand macros in lexer
Expand macros in parser
Remove macros in lexer.h
Expand macro in interpreter
Split out root.h into array.h and object.h
Clean up cutting ifdefs in template.c
Remove a whole bunch of cutting ifdefs
Split up root
Turn root classes into structs
Hack my way across the finish line
Add a copy-constructor for Scope (D doesn't build one automatically)
Disable constructor and destructor mangling
Use factory functions instead of calling constructors from the glue layer
Use factory functions to create arrays from the glue layer
Remove SMALLARRAYCAP to match D implementation
Add factory function for TypeTuple to replace disabled call