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.
Since `this.moduleName` is set by option, it would be nice to throw an exception here if user failed to supply a value.  Otherwise I guess the user needs to work back from a error in generated code.