Fix traceback on revision compare with bad params

* Catch exceptions in parsing to/from revision parameters

* Re-enable CompareRevisionTests, with a couple of fixes

* Added test_bad_parameters