Finished this up. Effectively brings back meta course enrollment interface from 1.9. Its at:
https://tracker.moodle.org/browse/MDL-27628
as well as attached here.
Instructions:
- backup enrol/meta/addinstance.php
- replace enrol/meta/addinstance.php with the attached file.