Refactor Oauth::User class to use instance methods
Use instance methods of LDAP::User as well

Still in need of some proper cleanup
Move auth hash to a seperate class
Add new Gitlab::Oauth::AuthHash class
Refactor gitlab auth tests
Ensure Gitlab::LDAP::authentication is tested
Test authenticate method for Gitlab::LDAP::User
Remove duplicated create method
Merge remote-tracking branch 'origin/master' into feature-oauth-refactoring
Update Gemfile.lock
Merge branch 'feature-oauth-refactoring' into 'master'

Feature oauth refactoring

Only use class methods when needed. In addition, make a proper extension of Gitlab::Oauth::User.

See merge request !1062