[ticket/13422] New events for check user session and set custom ban type

<a href="https://tracker.phpbb.com/browse/PHPBB3-13422">PHPBB3-13422</a>