allow elasticsearch gem 1.0, quick monkeypatch for elasticsearch server 1.0
see elasticsearch/elasticsearch-ruby#43
Merge remote-tracking branch 'original/master'
fix caching indexes if development mode