Updated for haxe3, passes tests on js + flash.  Fixed issue with order that 'append' macro finds targets

Fixed issue with order of append macro appending partials by filesystem order rather than by specified target order