Isolate AMO's `get_es` (bug 857156)

This is so we can upgrade elasticutils which, as of v0.7, depends on
pyelasticsearch.