Fix compatibility with ElasticSearch 0.90.0
Merge pull request #3 from pgaertig/fix_es_0_90_0

Fix compatibility with ElasticSearch 0.90.0