Add second-level menus and improve site structure handling

Second level menus appear both as drop-down menus on the top navbar, and on the right side of pages.