Update to elasticsearch 1.4.0

Closes #34.

(cherry picked from commit ddd941b)