change type annotation for namespaces
based on https://github.com/google/closure-compiler/wiki/A-word-about-the-type-Object
add @struct annotation to constructors to provide additional closure checks
see https://github.com/google/closure-compiler/wiki/@struct-and-@dict-Annotations