[#6692] Added support for OAuth2 Bearer Tokens

Support for RFC-6750: OAuth 2.0: Bearer Token Usage.
See http://self-issued.info/docs/draft-ietf-oauth-v2-bearer.html
for more information.  Doesn't support the Authenticate header.

Bearer tokens can only be generated manually by the user;
tokens generated via the existing OAuth negotation cannot be
used as bearer tokens.

Also consolidated the access token revocation form into the
consumer token generation page, and made it its own entry in
the auth menu.

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Added API for starting and checking status of project export

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Fixed typo

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Fixed issues with OAuth changes from review

* Removed unused authorized_applications
* Fixed Consumer Key value being used for Consumer Secret
* Removed unused name constructor param when creating access token
* Renamed poorly named "id" param
* Removed no longer used views from PreferencesController
* Fixed and improved OAuth tests
[#6692] Split bulk export REST API test cases up better

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Changed ProjectAdminRestController permission to admin only for all views

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Refactored out duplication from export views

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Split bearer token tests and fixed no_api test

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Made test_bearer_token_valid functional

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Added new_ticket.py script to demonstrate use of bearer tokens

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Fixed 403 reponses from bearer token errors containing text related to 302 Found

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Added documentation for bulk export API

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Added example script for project export API

Also removed errant verify=False from debugging

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Added tests for interactive OAuth negotiation

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] Converted project_export to bash script

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6692] add verbose mode; use comma-separation for tools
[#6692] don't send email after API exports
[#6777] Some structure and style changes to the site notification banner

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6777] Made call-to-action button slightly smaller to differentiate from close button

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6777] Style changes to prevent long site notifications from running over Got It button

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>