Improve the way Solr errors are being reported.

Also adding the output of the Solr endpoint (an HTML page) in the debugging section of the error message.