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.
>
> Agreed. We should at least add a throw new Error('Export star is not
> supported in this mode') or something along those lines
>
Done.

>