search: block to configure theme

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
search: mainly rewrite of the events system

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>