Add generic lib module

Use it to centralize some repeated nonsense
Rename tests & stub out a missing piece
.gitignore styling
Improve some Module checks

Also code coverage of the tests
Removing redundant tests

Improving test code coverage
Tests for pathFixup

These didn't belong with the Group class tests now that it's shared
functionality