Misc changes in TorrentModel and TransferListWidget

This patch series should significantly reduce CPU time by reducing the amount of the repainting of TransferListWidget. See commit messages for details.