Add premature support for fragment functions.
Add lazy loading to the constructor and compile referenced classes, so these classes are available before the JVM checks the class (which happens when the constructor is actually fetched). This is necessary, because template classes are now used by fragment calls directly, instead of the Template interface.
The standard render function is now compiled as if it was a fragment with no parameters (except the general parameters).
Add test for fragment functions.
Update TODO.