[MNG-3266] make RepositoryBase override not only equals() but hashCode() too Submitted by: Jared Roberts