Log BadRequest responses from elasticsearch

This lets us see the body of the response, which contains details of
what went wrong.
Merge pull request #261 from alphagov/log-elasticsearch-400s

Log BadRequest responses from elasticsearch