Put the DownloadManager into the session

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>
Store the download tasks at logot | stop downloads beforehand

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>