Update to elasticsearch 1.4.0

Closes #88.

(cherry picked from commit 3e0efc5)
Update to elasticsearch 1.4.0

Closes #88.

(cherry picked from commit 3e0efc5)