Merge pull request #30 from mposolda/social

KEYCLOAK-25 KEYCLOAK-27 Social login/registration improvements
Added first version of NoSQL api and MongoDBImpl implementation
Support for persistence of Realm in NoSQL based implementation
Support for adding users and roles
Adding TypeConverters. AdapterTest.test1CreateRealm() is passing for MongoDB
Support for remove all objects at startup. realm.defaultRoles to be saved as IDs of roles
Added NoSQLQueryBuilder API. AdapterTest.testRoles is passing
Added support for CRUD of requiredCredentials in MongoDB. AdapterTest.test2RequiredCredential() is passing now
Added support for password based credentials of users. All tests from AdapterTest actually passing
Added social links and realm admins
noSQL: Added scopes for realms
NoSQL: Added support for Applications
Implement NoSQLSession.getRealms(admin) and bugfixing. ImportTest.install() is passing nowgit add -A!
MoSQL: introduce realmData.oid as backend ID for realm. All unit tests are passing
MongoDB: Fixing small issue in NoSQLSession.getRealm(). Keycloak UI is working
NoSQL: Improve query builder API
Added logging and configuration of MongoDB from system properties
Added helper method setPropertyValue in MongoDBImpl
Added NoSQLObjectConverter
Added ID to be non-mandatory in NoSQLObject