Bug 836318: Items in submenus default to visible rather than using the PageContext

setVisibility is called recursively for the menu hierarchy so for the first call (for top-level items) we pass in the PageContext for the defaultVisibility, subsequent calls for submenus just use true for the defaultVisibility.