Haxe3 dev

Bringing haxe 3 branch up to date with latest dev changes.

Fixed an issue with directly accessing key states like "FlxG.keys.A".