Code review changes.
Fix test and pylint.
pylint error.
Updating the test to verify the signal is fired.
Test for all analytics events
Import pylint error.
Pylint error
Quick cleanup
Making kwarg to suppress unenroll events.
pylint and pep8 errors cleaned up.
add commit on success.
Changing transactional behavior of the management command.