Avoid blocking UI when ModuleCompletionHelper is running

Another problem on huge perl projects: the File::Find background job looking up perl modules can lock the UI for several minutes. This pull request fixes this by avoiding unnecessary synchronize blocks

- improved synchronize block for singleton pattern
- improved synchronize block during scanForModules run
- enabled possibility to rerun scanForModules to update module cache