Removed duplicate code from initalizer.
Fixed up code for delete_failed in both TV and Movie autoPP scripts.
Code cleanup
Fix for download_id
Set log-level for file to debug
Fixed a bug that was preventing releases from being populated properly.
Fixed issue with key_error in autoProcessMovie
Added NZB_CLIENTAGENT and TORRENT_CLIENTAGENT variables to compliment adding in Nzb client API support for SabNZBD and NzbGet.

Partially added in searching for downloads via download client API calls, more work to be done on this.

NZB Client users but set there client in the cfg, either sabnzbd or nzbget.

Cleaned up some more of the code in TorrentToMedia and nzbToMedia.
Updated requests lib.
More code cleanup done.
We now can post-process files not inside of there own folder, we simply confirm there at the root of our category or watch folder then move them into there own seperate foldersand go from there.

nzbName's are now cleaned up.
Fixed 2 bugs in autoProcessMovie, one that was giving a keyError on '_id' and another that was preventing imdbID from being returned correctly.
Updated logger code to now include the section, formatting has been modified as well.

Logging of debug messages is now optional via log_debug option location in autoProcessMedia.cfg

Lots of code cleanup has been performed including cleanup log messages and corrections of spelling errors.

Improved release lookup code for autoProcessMovie, narrows search results down by making API calls to the download clients to compare results in CouchPotato's database.
We now get the clientAgent from the release info and send that with the download_id to insure CouchPotato is happy.
Fixed a typo
We now check for status downloaded and skip post-processing if found.
Fixed another typo
Reverted previous changes in regards to checking for download status as now we just filter it out from the search all together
Removed check for WANTED status as this interfears with being able to post-process movies that were not snatched from CP but obtained via other means.
Added in allowed release status 'done'
Added a check for length of results before we decide if we need to narrow them down further by checking the download clients
Fixed a few bugs and made a few more improvements