logged searches

Every search made gets recorded and if you visit an event after a search it
tries to match up the event with the made search. No interface yet to analyze these results.