Cleaned up TorrentToMeda, moved CFG variables into our initalizer and made it so it exits with a return code.

Fixed the remaining nzbTo* scripts to exit with return codes.