added analytics calls for instructors
added mocks for tests
Merge branch 'refs/heads/appsembler_develop' into feature/148-fix-sending-the-user-type
Merge pull request #29 from appsembler/feature/148-fix-sending-the-user-type

#148 - Fix sending the instructor user type to segment.io
Merge branch 'refs/heads/appsembler_develop' into feature/146-sample-course-enroll-option

Conflicts:
	mediathread/course/tests/test_views.py