all the tasks logic is in c++ from now on

--all the logic for tasks is in c++, this is going to make
things easy in order to split previews from the tasks. After
that two qml plugins will be created one to be the taskManager
and one to be the previewsManager