MDL-46107 badges: Fix badges navigation and remove empty breadcrumbs on pages using Clean

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>