Added support for pyes

Created pyes adapter that simulates `pyelasticsearch.ElasticSearch`.
Use the pyes adapter when pyelasticsearch is not installed.