Complete GraphicsDevice.

Change of API required with parameters named 'dynamic' changed
to '_dynamic' on Haxe API due to being a keyword in Haxe.
Add extern for Draw2DSprite + some more stubs.

Add TZJS for auto-insertion of /* {{ javascript: jslib/##.js }} */
metadata to generated JS code from haxe for use with Turbulenz build
tools to automaticly include relevant jslib files needed.