Resource views

It should be possible to save the state of a view for a given CKAN resource, but some CKAN model changes are necessary so that there is somewhere to store this data.