Fix: was failing unit test test_multilang_support()

Always print menuitem when no language is selected for the view.

Conflicts:
	lib/outputcomponents.php
Updated to test MDL-46652 multi-lang menu nesting

Also fixed bug in test, the final assertion was testing the wrong set of children
Merge branch '2.6/feature/custom-menu-permissions' into 2.6/integration
Merge branch '2.6/integration'