Merge pull request #2 from settinghead/master

gapi mock init
fake full-page oauth2 login interface
self-contained mock image encoding
remove unused mock
fake redirect-based Google Oauth2