Update torrentmanager torrent to dict function to use tribler simpledefs
Extra check on download add in DownloadManager
The function name is downloads.{name}, download.{name}
METADATA WIP