Update loader and yui to optionally use pathogen encoding

Replaces https://github.com/yui/yui3/pull/1858

Need to test cross browser.
remove condition and use `Y.dump()`.