I am in 2.0 and ended up creating a script that adds a student each time it loads on our enrolment page. My only problem is that it isn't enroling students as students, but leaving them without a role in the course.
You can find my script inside this post...
mysql enrolment from ecommerce program.
Don't know if it will help you, but since I basically need the same thing you need, it can't hurt.