(bug 45421) Avoid inconsistencies in breadcrumbs of project selector

* Avoid empty selector
* Keep the "All" link always in the beginning
* Keep the selector open if the current group has child groups
* Make the group selector breadcrumb consistent

Bug: 45421
Change-Id: Ic959ea4946101f56771a6467e668c9decfa0e1dd