Added a couple of package params and bumped up the version # because of\nan added 'external_p' column to cu_elements and the associated upgrade script.
Permissions inherited wrongly, both for curriculums ad elements.\nI had left out coalesce(p_context_id, p_package_id), etc.\nprovided an upgrade script for the sake of (my own) convenience ...