Fill out oauth.js to complete implementation for installed application style oauth flow.
Add necessary permissions to QuickBug manifest.
Fix naming in OAuth2.
Make refresh() synchronized.
Merge branch 'master' of https://github.com/foam-framework/foam