Added setTorrentSelectionInterval() in TorrentChecking; small fixes in the DB handler; removed a unit-test-only method in TorrentChecking; updated TorrentChecking unit test.