add ServiceRealm class

ServiceRealm provides a way to integration with your UserManager classes
in your project. So, you can use your services to access database or
other ways by unified
Data Access Layer. Such as ibatis/mybatis or hibernate or mock-service
etc.