Added ProviderResolver with unit tests

* Added ProviderResolver with unit tests.
* userProvider and securityContextProvider is now easier to do code
config
* fix spelling hasGroupMaximum to hashGroupMaximum
* SecurityContextProvider - normalized line starts (was mixed tabs and
spaces)