Load modules and integration tests with bundle class loader

This fixes a problem where classes could not be instantiated because they were loaded by the wrong class loader.