[IMPROVEMENT] TopBar: better handling for wrapper attributes - rel. TS-63

With that change we can add arbitrary extra attributes for outer wrapper, not just classes. It will be needed for Magellan Sticky Nav support (TS-104)