Fix #2324 : Encryption level set by deluge does not match libtorrent values

The clients are using range (0-2) whereas actual bit values are (1-3)
Fix #2221 : Addtorrentdialog KeyError accessing download_location

Sets a default value of None for any missing config keys