Move functionality to model

Reconfigured the controller to just set a model variable during
create or update, then the model uses a before_save callback to
access the var. Updated spec to verify redirect from index to
the collections facet of the catalog.