Refactored token management into OauthClient.
Merge pull request #188 from scottfrederick/refactor-oauth

Refactored token management into OauthClient.