Bug 1068236 - Support 3p module loaders as first-class citizens in test-agent r=julienw

A @lightsofapollo patch to allow test writers to overwrite test-agent's test loader
nit: `element.onload = accept`