added oauth2/3-legged code
got 3-legged oauth working
cleaned up code
added separate flow for oauth2
fixed warnings updated examples
Merge pull request #3 from sudocode/oauth2

Oauth2