Added hashCode to Domain.Partition, PartitionMap, and associated tests.
Stubbed Grp.hashCode to sys.error.