Update to elasticsearch 1.4.0.Beta1

(cherry picked from commit 9abbe92)
(cherry picked from commit 890c483)
update documentation with release 2.4.0