NOJIRA Fix ws
NOJIRA Fix ElasticSearch event logging

They removed the hardcoded ok: true in their responses a while ago:
https://github.com/elasticsearch/elasticsearch/issues/4310

We now use HTTP status codes to determine if everything went ok. We
also catch all exceptions now. Before the whole application would just
barf if ElasticSearch went away.