fixed TicketSearch() with free text strings (not arrays) and added queueid to HistoryAdd() (to create easier stats)
fixed TicketSearch() with free text strings (not arrays) and added queueid to HistoryAdd() (to create easier stats)

otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs