add haxe.xml.Printer (closes #2040)