Capture error messages from UI endpoints
Capture error messages from UI endpoints

This makes it easier to identify mistakes when using the experimental
adhoc scan method from this branch. Not tested against other UI
endpoints used elsewhere in the gem.

gschneider-r7/nexpose-client,rapid7/nexpose-client,nbirnel/nexpose-client