Added error testing for new commandline errors.

Includes major cleanup in the SALVEException to_message.
Tests that SALVEExceptions are caught, and other exceptions pass
through.