Loader.module() should resolve to a module

Review URL: https://github.com/google/traceur-compiler/pull/698

Closes #698.