Allow a resolver to be passed into moduleFor.

This enables multiple resolvers to be used for a single test suite.

I wasn't sure what the best path to add this functionality would be-- this seemed like the least-impact way to go.