test cleanup
Moved importing-related code into a new module
Bugfix for re-importing behaviour

It used to always re-import and re-run modules that were part of a package
if they'd already been imported
More bug-fixes around already-imported modules.
Rewrote the importing code - not using importlib
Prototype implementation of assertion rewriting
Added some capabilities to assert equals rewriting