Content Views: Worked more on publishing content

Fixed places where repos had no environments. Also, changed the task type to
publish instead of refresh. Lastly, fixed publish for versions 2+ and
generating metadata for version repos so the env clones aren't empty.
Merge pull request #3739 from daviddavis/temp/20140226073857

Content Views: Fixing a couple repo publish things