removed some code duplication, some feature envy, some ask don't tell. Also renamed something (IndexClient to SolrClient)
Merge branch 'master' of github.com:gxa/atlas
Merge branch 'master' of github.com:gxa/atlas