Refactor repetitive navbar code into its own template.

All other HTML views include the navbar, and their respective controllers configure it to highlight the appropriate menu item as necessary.