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.
A bit more explanation? Just a guess: goog.module files are post-processed in the Closure compiler to create IIFE so we don't need to do that here.