add Revision.equals()

This is a java object representing a git object.
Can you show me a use case why they should not be equal?
[Here's a reason](https://github.com/jenkinsci/git-plugin/pull/271) why they should be.