[ticket/12942] Add core.add_form_key core event

Add core.add_form_key core event to allow extensions modifying
form key.

<a href="https://tracker.phpbb.com/browse/PHPBB3-12942">PHPBB3-12942</a>.
form_name is a string