Added index management in base entity
Merge branch 'develop' of github.com:oauth-io/oauthd into develop