Content views: archiving content defintions

Started working on archiving defintions in preparation of creating/copying
definitions from content views.
Content views: added some system tests
Remove unused file
content views - fix couple of bugs affecting publish/refresh/promote/consume

This commit contains 2 small changes to address regressions affecting
the publish/refresh/promotion/consumption of content views.

1. one is to address an error notice due to an invalid SQL during the
   promotion of a content view

2. is to address that the content view environment is not getting
   properly created during the saving of the version which occurs during
   publish/refresh/promote of content views.  Looked at options
   such as adding :validate=>true to the belongs_to :content_view
   in content_view_version.rb; however, it still would not trigger
   the creation; therefore, put the logic back at using the
   ContentViewEnvironment.create which will ensure the CVE is
   created.
Merge pull request #1801 from daviddavis/cv_copy

Content views: archiving definitions
Merge pull request #1808 from daviddavis/rm_test_helper

Removing test_helper file
content views - fix a test and update a test

- this is to fix a test that expects creation of org
  to create a content view environment... today, we
  do not want/need to create a cve for a new org
  (e.g. as part of creating library).  the reason being
  the cve translates to creation of a candlepin env.
  since a consumer may not register to library, that
  env need not exist

- add a check on promotion to ensure that a cve
  is created for the view in the target env
Merge pull request #1806 from daviddavis/cv_system_tests

Content views: added system tests
Merge pull request #1811 from bbuckingham/fork-content_views_bugs

content views - fix couple of bugs affecting publish/refresh/promote/con...