Use menu_block in more places.

Also a small refactoring of menu_block internals.
Removed the old, now unused `page_nav_link` helper.