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.
You can skip the constructor here since all you are doing is to pass the same arguments.