Update to elasticsearch 1.2.0

Closes #11.
(cherry picked from commit 8a87054)