Update to elasticsearch 1.2.0

Closes #28.

(cherry picked from commit cd7b18e)
Update to elasticsearch 1.3.0

Closes #31.

(cherry picked from commit 42d8b05)