Change key type to Slice for equals and hashCode.
Merge pull request #1007 from tweise/hds

Change key type to Slice for equals and hashCode.