Moved containers for header elements into the renderHeader function.

The renderers for the title, userMenu and portals now only emit their own block, not their wrappers.

Also fixed the rendering of the site name, whose variable setting was stuck in the renderHeader instead of the renderTitle function.