Generating GAPI.js typed wrappers

Changing the code generator to create closure typed wrappers for
GAPI.js that are mostly API compatible with the node.js api client.
And new APIs