re-factored Configuration tests and class, first pass
re-factored Configuration tests, class and calls
addresses review comments
fix couple of missing lines in test coverage
Merge pull request #832 from ClusterHQ/refactor-config-class-825

Refactor config class 825