Issue #3151072 by adityasingh, mikran, mohrerao: Format code according to the Drupal coding standards
This includes a hotfix to limit course unenrol to self only. Previously user with 'access content' permission could unenrol anyone.
Issue #3151735 by adityasingh: Add core_version_requirement