Add registration, enrollment, and unenrollment tracking

The analytics module has been renamed instructor_analytics to avoid
naming conflict with Segment.io's module, which has been added as a new
dependency.