Code generator up and running for JavaScript
Added support for adding properties from specific type directly into a FunctionBody or ObjectLiteral
Tidying up the extension methods