Clean cache when uninstalling module

When resetting a module the installation fails because isInstalled() still return true because of the 'getModuleIdByName_' cache.
Merge pull request #1911 from joemartin247/patch-1

[-] CORE : Clean cache when uninstalling module