Update integer type for Elasticsearch 1.3

Closes #79.