[ticket/12260] Add core event to delete_posts() function.

Event for extensions to perform additional actions on posts deletion.

<a href="http://tracker.phpbb.com/browse/PHPBB3-12260">PHPBB3-12260</a>.