Don't bother loading unittest2 on Python 2.7
Iterate over sys.modules.values() in call_on_change

This fixes a crash when sys.modules changes during iteration as
the result of code changes.