Delayed module imports in test app.

When running "gaffer test ModuleName", the other modules are no longer loaded. This can be useful when running a subset of the tests in an environment where GafferUI won't import due to the lack of an X connection (over ssh for instance).