[ticket/12836] Add event core.functions.redirect

https://tracker.phpbb.com/browse/PHPBB3-12836

PHPBB3-12836
RC3