Content Views: Redoing publish code

Redoing publish code to create a content view version set of repos along with
the content view environment repos.
Merge pull request #3695 from daviddavis/cv-rework-publish

Content Views: Redoing publish code