[ticket/13123] Add events to allow modifying post data

https://tracker.phpbb.com/browse/PHPBB3-13123