[#eng-5883] upgrade to Elasticsearch 1.0.0

Not being put forward merge in now, but rather for discussion as to how we can go about making the transition to 1.0.

EDIT: I guess I should also mention that it passes its tests, since it's not in CI. :)