Clear the ModuleStore cache when registering modules

If Loader.module() is called a second time with the same name, 
the existing module entry is ejected. Any runtime uses of the
old module will retain their copy.