Restore previously loaded modules

If a module is required with stubs and then bogus is reset, a previously required module with the same name will not be restored.
Merge pull request #4 from codazzo/preserve-loaded-definitions

Restore previously loaded modules