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
Merge pull request #871 from lmorchard/fix-revision-param-error

Fix traceback on revision compare with bad params