Debug of possible deadlocks
Download manager refactoring for stability and maintainability & better tests of the Update system.
Merge pull request #2 from Speedy37/develop

Fix Download manager stability issues & more unit tests