added acknowledgement for bug report
updated command and base_hamiltonian to catch std::exception instead of std::domain_error to catch all Boost math and Stan throws, fixes #476