fix self_url property in menu and breadcrumbs helpers

remove query variables from the url