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
Merge pull request #12 from beum/SITE-1168

SITE-1168: Fix crashes when solr is down