Replace custom ES runner with elasticsearch-test library

This replaces the custom elasticsearch runner used in tests with the
elasticsearch-test library for ease of use, and because it is actively
maintained.