[ticket/12584] Add event core.mcp_warn_user_before/after

Event for when warning a user from MCP.

PHPBB3-12584
[ticket/12584] Redirect only on non-empty $message

PHPBB3-12584