Admin menu

Ads the admin and dev menu functionality to sitebase. Updates all template rendering for this new setup.