fixed NavbarRenderer.php not accepting a menu object 

NavbarRenderer::renderNavbar() always looked-up the menu even when it was already an object.