[ticket/11872] Fix warnings list in MCP

http://tracker.phpbb.com/browse/PHPBB3-11872
PR also includes tools for validating templates