add __setRequiredModule__ and __unsetRequireModule__

These two function make it possible to inject mock modules required after the host module is loaded.