finish github oauth2 support
Merge branch 'dev' of github.com:gogits/gogs into dev