remove duplication of 'header-right' element, also make it overflow when too wide
fix header code duplication, code style fixes
Merge pull request #8236 from owncloud/header-right-fix

remove duplication of header and 'header-right' element, also ellipsize when too wide