add Revision.equals()

Only one plugin (git-plugin) uses git-client-plugin. Git-plugin does not use setSha1.