Converting properties for haxe 3.0
HXP.entity created inline
A lot of haxe 3.0 compatibility changes
Removed commented code.
Ported Text.hx to haxe-3.0