SITE-1168: Fix crashes when solr is down

* On request error, the server crashes because there is an uncaught
  error on the http request which bubbles to the top level, killing the app
* Add handlers for the error