Initial implementation of resource server.
Merge branch 'master' of https://github.com/Silwing/IdP