Update torrentmanager torrent to dict function to use tribler simpledefs
Extra check on download add in DownloadManager