refactor core.oauth

compatibility with new freedom v0.6 core.oauth API

2 oauth providers introduced based on chrome.identity and chrome.webRequest.
oauth.identity passes the integration test, but no testing setup for oauth.webrequest yet 
(chrome.webrequest only available on Chrome extensions and current selenium test is a packaged app)

do we care about chrome.permissions? we don't use it otherwise. you could check for identitiy in a chrome.getPermissions call, or you could test for chrome.identity directly, as you've done here.