Fix rTorrent connectivity

The combination of cleanHost and rTorrent.connect issues caused rTorrent
connections to fail. This update fixes cleanHost() so that it can
actually cope with SSL based hosts and finishes the migration to
cleanHost() in connect()

Conflicts:
	couchpotato/core/helpers/variable.py
Add log var
Merge pull request #2775 from ressu/fix_rtorrent_connection

Fix rTorrent connectivity
Updated rtorrent-python library

 - Fixed bencode encoding bug with long types
Merge pull request #2817 from fuzeman/feature/dev_rtorrent

[rtorrent] Fixed bug which caused large torrents to fail
* Added category 'bd50' (BR-Disk) to Torrent provider TorrentBytes
* Changed category identifier for category 'brrip' for Torrent provider TorrentBytes (see issue #2795)
Merge pull request #2823 from ramon86/develop

Category changes for Torrent provider TorrentBytes
Fixed bug where changes to rtorrent settings wouldn't take effect until a restart
Cleaned up naming of functions in rtorrent downloader
Fire events after tab add
Use correct ordering for request arrays. fix #2810
Update nzbclub url
Merge pull request #2824 from fuzeman/feature/dev_rtorrent

[rtorrent] Fixed bug where setting changes would not take effect
Check responsecodes
Use proper check
Update TMDB api
Use test url for trakt notification test. fix #2798
Encode before copy metadata. fix #2832
Path encode files in rename. fix #2846
Merge branch 'develop' into mikke-dev

Conflicts:
	couchpotato/core/downloaders/rtorrent/main.py