Use spacegroup number as a hashfunction in SpinComparator. Reduces time to
enumerate 2-cell LiFePO4 magnetism from 140 secs to 40 secs.