add oauth2 models
Merge branch 'dev' of github.com:gogits/gogs into dev