Update to elasticsearch 1.2.1

Closes #25.

(cherry picked from commit 33d309e)
Update to elasticsearch 1.3.0

Closes #26.

(cherry picked from commit 10b56e8)