Add support for goog.module based imports

- option to enable goog modules
- golden file based tests
- based on moduleName for the current file

Based on @vojtajina's initial work.
Definitely in another CL if we want to do this.

Another benefit is to keep the dependencies down :'(