OAuth support.  I am developing this simultaneously with developing the actual OAuth support in the API, so it might change.  No tests yet, but basic stuff seems to work (haven't tried uploads or auto-relogin).
Merge branch 'master' into oauth
tests for oauth
a test for the OAuth logout endpoint
a test for OAuth auto-relogin
merge master into oauth
add oauth2 to setup.py