Add support for duplicate torrents

If the torrent already exists then the result is returned in 'torrent-duplicate' not 'torrent-added'