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
either `.then(next, next)` or `.catch(log_some_error).then(next)`.