Rename `ElasticSearch` to `Elasticsearch`

https://github.com/elasticsearch/elasticsearch/issues/4634
Fix percolator tests