[ticket/12523] Add template events search_results_topic_(before/after)

Add template events search_results_topic_(before/after)
to search_results.html.

<a href="https://tracker.phpbb.com/browse/PHPBB3-12523">PHPBB3-12523</a>.