Dependent types and expressions, anonymous enums.

Various dependent types and expressions were implemented, them coming early is kinda superfluous since they're only useful for reflection, but at least importAll() works again for Ogre::Light.

A few more bugfixes as well, anonymous enums work.
Do a full syntaxCopy() on C++ template instances, not just members.
Fix getIdentifierOrNull() for typedefs with anon types.