Tests can now call require('requiremock') to bootstrap an alternative requirejs implementation and use the resulting object for defining dependencies and mocks refs #4308
refs #4244