create a non-unique index on user_id field of cc_course_registrations

This is a somewhat large change because I needed to add
support for adding indexes to the schema versioning/migration
code.