Update to elasticsearch 1.4.0

Closes #34.

(cherry picked from commit e149f70)