fix UserModules.clear()

previously cleared the entire cache to {}, now only clears each value
in it.
Merge pull request #8 from edk141/pr-1

fix issue #8 with UserModules.clear() thanks to edk141