WIP: Adjust and fix content view code

Make `ContentView.publish` and `ContentViewVersion.promote` return the full JSON
response from the server. Fix existing usages of those methods. Walk through
module `test_contentview` and attempt to fix existing issues with the tests, in
addition to fixing usages of those two methods.