fixes #6322 - clean up puppet environment on cv delete

Attempt to move content host's hosts.  If there are others left
or host groups attached, throw a nice error.  In the future
we should add host and host group puppet environment selection
to the content view version deletion
Merge pull request #4414 from jlsherrill/6322-env_delete

fixes #6322 - clean up puppet environment on cv delete