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
btw do we really need to call "next" as reject handler? Since we "catch" at the previous step, probably `.then(next)` is just enough. What do you think?