Bastion: allow adding additional menu items to detail sub-menus.

This PR allows arbitrary menu items to be placed in the sub-menus
on nutupane detail pages.