Prevent modules being deleted if they belong to a course_version.  Improve error
handling for orphaned proposals and validation_documentation_sets.
Make archived courses count as parents to proposals and vdss.