Add and test hashing in GUIDMixin.

* Now a GUIDMixin can be used as a key in a dictionary.
Refactor addContact and splitBucket.

* Replacement cache is now a list of OrderedDicts.