Nix max_retries; add ElasticSearch caching

* nixed max_retries because I personally think it's got a confusing
  name and, like revival_delay, it's probably not something someone is
  going to use often
* added caching of ElasticSearch object creation with tests