THRIFT-2753 Haxe support (part 2)

THRIFT-2753 
Misc. Haxe improvements, 
Requires pull request 214 to be merged first.