[ticket/12598] Various responsive and browser fixes

PHPBB3-12598
[ticket/12598] Add template events search_tools_list_before/after

PHPBB3-12598
[ticket/12598] Bidi border-color fixes

PHPBB3-12598
[ticket/12598] Revert index modifications

PHPBB3-12598