implement equals and hashCode for CachingBackedRegistry
Merge pull request #437 from lhotari/CachingBackedRegistry-hashCode-PR

implement equals and hashCode for CachingBackedRegistry