[ticket/13422] New events for save custom cookies and set custom ban type

<a href="https://tracker.phpbb.com/browse/PHPBB3-13422">PHPBB3-13422</a>
Type should be `array|false`