Fixed bug where Flash photo taker would fail

LMS-1487
Removed unused code
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.
Merge pull request #1662 from edx/flowerhack/fix/flash-camera-authorization

Fixed bug where Flash photo taker would fail
Merge pull request #1643 from edx/dcadams/fix_invitation_emails

Email port to beta dash and new option for shibboleth courses