Merging changes from Prinz23, PR#156
Merge pull request #410 from WebSpider/dev-merge_prinz23_pr156

Added nzbget changes from mr_orange from Prinz23@7282846

* HTTPS support
* appendurl for NZBGet 9+
* fix for proper/repack dupescore

Additional changes:

* unique Dupekey for TVRage Shows (for TVDB Shows the Dupekey is the same as in mr_orange and midgetspy dev - branch)
Fixes corner case where cookie could not be found
Merge pull request #418 from WebSpider/dev-torrentday_fix

Torrentday fix
Added in optional multi-threading for all search queues, can be set from General->Advanced config section.

Fixed issue #417 and #335
Fixes issue #423
Added in some sleep timers to help improve overall cpu usage
Convert TVDB to Indexerid
Merge pull request #424 from WebSpider/dev-hdbits_tvdb

Fixing Indexer for HDBits
Fix for invalid literal for int
Fix for missing indexer_id during migration from other forks
Fix for missing column 'subtitles' during migration from other forks.
Fix for invalid literals when searching for episodes
Implemention option to start/stop full backlog thread
Merge pull request #427 from WebSpider/dev-backlog_startup

Implement configurable startup
Fixed main database structure to line up with original sickbeard structure so that migrating users get our database modifications migrated in without issues plus I've updated our main database structure to reflect all our recent changes so that new fresh installs dont have to go through the migration process
Fixed issue with main database migration numbering
Fixes issues with indexer_id never being added into tv_shows table when at a db version of 15 or higher
Fixes backlog and manual searches.
Fixes season pack and single/multi episode searches.
Fixes multi-threading issues.
Fixes incorrect status being reported for manual searches.
Fixes quality being returned as N/A all the time for torrents.
Fixed issues with added new shows not showing any episodes.

Fixed issues with duplicate downloads of the same season/episode caused by multithreading.
Fix for #390, add flag to use proxy settings