Upgrade to elasticsearch 1.4.0

Fixes #8