ObjectManager breaks Installer

some objects are needed for NavigationBar() in Kernel::Output::HTML::Layout, but those objects are not available in the installer. Introduce a flag to make those objects optional.