Bug 867747 - OAuth2 authentication support (particularly for google) r=kgrandon,gaye