Update loader and yui to optionally use pathogen encoding

Replaces https://github.com/yui/yui3/pull/1858

Need to test cross browser.
@caridy If you click on the details for the failure it actually shows the last build passing. Not sure why its claiming failure now. Previous failures were legit and due to a sort issue which the final commit fixed.