chore(routing): stop passing URL segments to resource views

We use set_input/get_input to pass this data. Also this moves breadcrumb
creation into the views.