Make python-oauth2 compatible with python3

Final commit to make python-oauth2 py3k compatible.