Make as3hx work from haxelib, additional pull

This includes a change that allows as3hx to run from haxelib, as well as a pull we received that prevents as3hx from remapping "flash" imports to "nme" and also adds an additional case for handling loops