more NME/OpenFL -related fixes (better support for NME typedefs and template problem)
more Haxe inference
missing one file