[ticket/13427] Add several before/after template events to mcp_front.html

[PHPBB3-13427](https://tracker.phpbb.com/browse/PHPBB3-13427)