Initial refactor to Closure
Add docstrings and fix lint errors.
Add @export annotations
Add gapi extern file
Update docstring
Enabled compiled js
Fixed exported properties and api messages
Export properties
Quote message object keys
Add compile script
Use SIMPLE_OPTIMIZATIONS compilation level instead to avoid externs problems.
Updated compile script
Add more docstrings.
goog.bind for promise function.
Move actual gapi call to own method.
Fixed bad method call.
Fixed spacing.
Updated docstrings
Fixed `this` reference
Fixed lint errors.
Ficed compiler warnings.