Python 3 compatibility

I've changed the code to be usable with Python 3 (tested with 3.4).

I had to remove the oauth2 dependency since oauth2 is not compatible with Python 3. You (probably) can use the oauth2 authentication with Python 2.7 if you manually add oauth2 to your working set. I'm not sure if that's acceptable or not.