Import legacy.

Bring in old Legacy::ActivityGrouper for now to assure identical results.
Include CSV legacy dump of 5000 items.
Support all legacy features, except :suspend
Break out tests into individual files
Refactored tests