Misc fixes related to resource view

Make public fields easily accessible on resources, fix breadcrumbs, fix 'config undefined'