refactor displaySearchGrid and related function to remove multiple calls from BackupPC::CGI::SearchArchives to BackupPC::SearchLib.