General database tests for checking things for non-kinetic groups.

Also changing way statmech groups are stored so that they are dictionaries like the other database objects.
May need to add some more general checks for these groups.