[ticket/13430] Add event core.prune_sql

https://tracker.phpbb.com/browse/PHPBB3-13430

PHPBB3-13430
3.1.3-RC1 please