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

https://tracker.phpbb.com/browse/PHPBB3-12836

PHPBB3-12836
Please add $return and $disable_cd_check