Fixes after testing Swift

All swift_ports configurable + swift_dht node configurable.
Able to turn off dht torrent collecting, RemoteTorrentHandler reports completed swift .torrents sooner.
Libtorrent Unittest faster, only waits for dht peers if trying to download a magnet link.
Other cleanup stuff, dht not a global variable etc.