Fix archive search and correct logging for foreign searches

Archive searches are now handled correctly
Fix debug logging for searches in foreign section
Include title fix from mr-oranges's PirateBay edition
Merge pull request #216 from iron8core/scc_fix_archive

Fix archive search and correct logging for foreign searches