content views - fix the permission checked when destroying a definition
content views - add some spec tests for content view & definition controllers

This commit contains several tests for the above UI controllers.
There will be more tests introduced; however, didn't want to wait
till all are finished before commiting.
Merge pull request #1680 from bbuckingham/fork_content_view_tests

TDD - content views - add some tests for view and definition controllers