* Relocate module validator code and tests. * Fix validate-modules entry point and imports. * Fix paths and test entry points. * Fix up unit tests. * Fix shebang and execute bit.