Add missing imports to the Geoserver views.
Add geoserver context to the layer detail view and add the store_type helper.