Use goog.* types in externs

To have an externs file as accurate as possible, we also need to use
types that are provided by the Closure library.
Merge pull request #2785 from ahocevar/export-goog

Use goog.* types in externs