Updated to use official elasticsearch client lib (bug 1036164)

This removes most uses of pyelasticsearch in favor of the official
elasticsearch client library.