Update publish location.
Add updating of _references.ts file.
Add ability for delaying initialisation of static fields.
Fix overload dispatcher and small cleanup on constructor compiler.