Integrate event-tracking in to the LMS

Support incremental conversion of events from the old API to the new, in order to ensure the new system is working, enrollment events have been modified to make use of the new API.
Merge pull request #3523 from mulby/gabe/tracking-shim

Integrate event-tracking in to the LMS