Type annotations

Tim,

Part of helping me to understand Oauth better and as a compulsion to have more static analysis capabilities I added these type annotations to the library.