Copy the docinfo correctly in goog.scope. Fixes issue 1204
R=johnlenz
Rename type annotations in commonjs modules
R=johnlenz