Email port to beta dash and new option for shibboleth courses

Port of invitation/enroll/unenroll email functionality into beta dashboard.

Also includes new functionality, in both legacy and beta
dashboard, to include appropriate email text for a
Shibboleth course.

This PR should resolve the issue of the beta dashboard Membership tab being
out of sync with the legacy dashboard Enrollment tab.