Update loader and yui to optionally use pathogen encoding

Replaces https://github.com/yui/yui3/pull/1858

Need to test cross browser.
yeah, definitely a boolean value. Also, remember to add those spaces after `if`