Update to elasticsearch 1.4.0.Beta1

(cherry picked from commit c082405)