Update to elasticsearch 1.0.0

Closes #57.