add Revision.equals()

Jenkins-on-jenkins [only triggered build for git-plugin](https://jenkins.ci.cloudbees.com/job/plugins/job/git-client-plugin/581/console)