[ticket/11581] Hide categories when they have no visible children

PHPBB3-11581
[ticket/11581] Add assertNotContainsLang() for functional test cases

PHPBB3-11581