Fixed an issue with directly accessing key states like "FlxG.keys.A" on haxe 2.
Merge pull request #322 from crazysam/haxe2_dev

Fixed an issue with directly accessing key states like "FlxG.keys.A"
fixes for FlxKeyboard to work on Haxe 2
Added a powerful console to FlxDebugger

Initial commit for a recreation of Eric Smith's  "CoolConsole" in haxe,
integrated into the flixel debugging screen and preloaded with a set of
already installed commands. It is possible to easily add your own
commands via FlxG.addCommand.
Fixes and new features

- Now compiles and works on cpp targets
- Added command shortcuts
- FlxG.addCommand now works propertly with FLX_NO_DEBUG
- The game auto-pauses when the console has focus now
- You can now use escape to un-focus the console
- The cursor won't jump to index 0 of the textfield anymore when
browsing through the command history
- watchMouse and create commands fixed (use system cursor pos)
- set command now works properly
Override the default debugger layout for now
small fix in FlxSprite.onScreenSprite() to make it work for scaled sprites
Merge pull request #331 from bytecombo/dev

small fix in FlxSprite.onScreenSprite() to make it work for scaled sprit...
Console: debuggerLayout support and more

- added support for all the debugger layouts
- garbage collection
- added tempDisablesSoundHotKeys var to avoid overriding the devs
preferences regarding the sound tray
Add move function to FlxObject
tweens.motion.Motion operates on Movable not FlxObject

- this change allow use Motion tween for different object like FlxGroup
Merge pull request #341 from sergey-miryanov/dev

tweens.motion.Motion operates on Movable not FlxObject
Fixing issue with camera sprite not being properly positioned when scaled.
Central FlxSave for cmdHistory and sound prefs

- added prefsSave FlxSave to FlxG to save the console's command history
and the sound prefs in one place
- added pause command
- solved conflict with "cl" alt command
- moved addCommand logic entirely into FlxG
- fix for the height of watchEntries being a bit to small to fully be
shown
Temp fix for buggy commit
arrayToCSV() fixed for use in Neko 

It seems neko converts Int arithmetic to a Float, which is an invalid accessor for arrays.
alternative version of arrayToCSV() eliminating needless arithmetic

simply has an incrementing array index instead of recalculating it every iteration.

Works fine in the current implementation, though will not work if support is later added for accessing a small square of the provided array
Introducing registration, new call command

- Introduced registration of objects for the set command and functions
for the new call command
- removed addCommand from FlxG and added a reference to the console
- removed pauseSounds, resumeSounds and volume commands
- added listObjects, listFunctions, call
- substantial change of the help command, now provides info on
individual commands
- added autoPause variable to the console
- improved error prevention
- cleaned up Console.hx a bit
Fix bug with _prefsSave
Rename Commands to ConsoleCommands