Removed most core singleton dependencies from core
Added test for downloadertask
Merged local changes to upstream
Tests now inject dependencies properly
Plugin now injects various objects properly