Basic migration to Haxe 3
Added bin and doc to gitignore
fixes for changes to haxe3 xml format