Convent View Rework: Made initial changes

Made initial changes to the models and api for content views rework. Also,
created a migration to remove content view definitions and rework content view
tables.