Update a few dependencies

Related to #80.

(cherry picked from commit 89d5460)
Update to elasticsearch 1.4.0

Related to #77.