Added GitHubMixin (OAuth2)
Updated the code for Python 2.