Update to elasticsearch 2.0.0

Closes #3.