[ticket/11493] add check for phpBB Debug in functional tests

Add check for phpBB Debug which covers up PHP Notice and Warnings.
http://tracker.phpbb.com/browse/PHPBB3-11493
PHPBB3-11493