Assocative collection restructure

`Dictionary` and `HashedCollection` are now sibling with common superclass. Tests restructured to match. Fixed errors found.