Revert "Improve handling of 5xx responses to elasticsearch requests"

Authored by EBernhardson on Nov 8 2017, 5:07 PM.

Description

Revert "Improve handling of 5xx responses to elasticsearch requests"

This is incorrectly checking status: green against status >= 200 && status < 300, preventing reindexes from completing.

This reverts commit 42d7418d5221e8a1a4a278c6eae15ccf42522fbe.

Change-Id: I2c35ae0333e2377009d2b68274727b4569a83f7c
(cherry picked from commit bd3ff1b445cb3eae332eca53ec8eef514209dfa5)