[MNG-3266] make RepositoryBase override not only equals() but hashCode() too (merged from 2.2.x branch r895088) Submitted by: Jared Roberts