UI: Sidebar & header tweaks and fixes
Depends on !1953 (merged)
See the commits for more details, the messages mostly speak for themselves.
Fixes #2928 (closed), #2071 (closed), https://dev.gitlab.org/gitlab/gitlabhq/issues/2575, and https://dev.gitlab.org/gitlab/gitlabhq/issues/2573