-Add flexibility to menu creation and feature customization
-Colorize menu error messages on supported platforms
-Add 'email' as a required scope for increased transparency to the user
-Improve readability of menu creation and operation
* Revert patched google_auth_httplib2 and replace functionality by wrapping original library calls
* Wrap calls to google_auth_httplib2.Request__call__ to include a user-agent header.
* Fix bad dict key assignment syntax
* Add user agent header wrapper to requests handled by AuthorizedHttp
* Remove errant character corrupting client_secrets.json
Removes an errant '`' in the raw string output to client_secrets.json that was corrupting the json output. Also fixes the error message in getOAuthClientIDAndSecret() to properly format the output with the target filename.
* Replace missing request wrappers
All newer APIs support a v2 Discovery URL that is preferred.
They have a fallback v1 URL also but in some cases this fallback
discovery file doesn't have all APIs and methods. We will use
v2 for all APIs that support it.
Also remove some old GPlus commands that are deprecated.
* Consolidate callGAPIpages() implementation and add docstrings on all GAPI execution-related methods
callGAPIpages was previously broken out into a few subroutines which contained a couple lines of code and weren't being used elsewhere in the code. The main "GAPI" execution methods were also missing documentation which made it hard to tell what they did and/or how to use their parameters.
* Fix oauth2client library name