Update to elasticsearch 1.2.0

Closes #20.
Closes #21.

(cherry picked from commit a38038a)
Update to elasticsearch 1.3.0

Closes #23.

(cherry picked from commit 5e10b27)
Add documentation link for old es-1.0 branch
Update to elasticsearch 2.0.0

Closes #24.