Update to elasticsearch 1.2.0

Closes #20
Fix #19
Update to elasticsearch 1.3.0

Closes #21