[#eng-3897] Rewrite elasticsearch-equilibrium for ES 0.90.0

I'm sorry.

I don't really have any ideas for how to help review this PR, I'd be happy to talk about it on Skype though if anyone is interested.

This needs a large amount of dev testing before it goes into production, but I want to get initial feedback while I work on testing this is the dev environment.