Update to elasticsearch 1.4.0.Beta1

(cherry picked from commit f47babb)
(cherry picked from commit a515501)
update documentation with release 2.4.0