Allow usage of goog.require from processed CommonJS modules.

This patch works, but leaves the assumption that all inputs are CommonJS,
guarded only by a null check after ProcessCommonJSModules.getModule near
line 1564 of Compiler.java.

I'll add some tests if this is an acceptable approach.
nit: indent two fewer spaces for this line