[WIP] Breadcrumb width calculation fix

:construction: WIP do not merge :construction: 

Rewrote the breadcrumb calculation to be more readable.

Breadcrumb now has a setMaxWidth() method to set the maximum allowed
width which is used to fit the breadcrumbs.

Fixes https://github.com/owncloud/core/issues/9115