Move webadmin navigation to base template (rebased onto dev_5_0)



This is the same as gh-2367 but rebased onto dev_5_0.

----

Instead of each webadmin template redefining the webadmin links do it in
the base template. Javascript uses the url to highlight the current
navigation tab for the webadmin page