Allow module transformers to be directly passed into opts.

This patch allows a module transformer to be passed directly through the options instead of relying on it being require()able.