Updated usergroup tests to use api for user create and added few -ve tests
Merge pull request #1369 from sghai/user-group-tests

Updated usergroup tests to use api for user create and added few -ve tests
Port "old" API tests for content views

Make module `test_contentview_v2` accomplish most of what module
`test_contentview` formerly accomplished. Module `test_contentview` is still in
place:

* Not all tests in that module have been implemented, so they are untouched.
* Some tests in this module do not test content views, so they should be ported
  into somewhere other than `test_contentview_v2`.