Update to elasticsearch 1.2.0

Closes #66.
(cherry picked from commit fb3b288)
Update to elasticsearch 1.3.0

Closes #67.
(cherry picked from commit d3eaac9)