Update loader and yui to optionally use pathogen encoding

Replaces https://github.com/yui/yui3/pull/1858

Need to test cross browser.
Mostly curious: why do these checks instead of just monkey-patching `_encodeComboSources`?