Update to elasticsearch 1.4.0

Closes #39.