This actually does a bunch of things.
1. Fixes the two lines that were hardcoding the index name used to
"sumo-test" to use the ES_INDEX_PREFIX as well. This allows us
to put the build number in the ES_INDEX_PREFIX and thus jenkins
won't use the same index for multiple tests running at the same
time.
2. Changes a bunch of the test infrastructure to use override_settings
rather than settings_test.py and mocks.
3. Fixes some users app tests that were interesting.
* Created a webtrends API helper.
* Refactored existing API calls in dashboards app to use it for getting
wiki reports.
* Cron job to call webtrends API and save the data to the metrics model.
* API call to get this data.
* UI to display the chart.
* Splits searching and indexing so they use different index
settings.
* Rename eswhazzup to esstatus and make it more useful.
* Make search admin more useful so it's easier to spot problems.
* Updates eswhazzup to be more useful and nixes the cluster status
* Add x per 1000 documents calculations to reindexing output.
* Fixes wiki document indexing so that when doing a reindexing, we're
not calling unindex for things.
* Add esdelete command.
* Cleans up some code to make it more obvious and less errory.
* Update documentation.
* Update default settings.
KarmaManager() gets created before we stomp on the REDIS_BACKENDS settings
with REDIS_TEST_BACKENDS. This switches all that testy stuff around to use
settings_test.py which stomps on everything before modules get imported.
By default when running tests USE_ELASTIC is False. It gets switched to
True in ElasticTestMixin. This adds checks for USE_ELASTIC to the
models post_save and pre_delete signal handlers.