Feature additions to imsenterprise enrol plugin

See https://tracker.moodle.org/browse/MDL-31356