course and enrolment models

this depends on #19

1. new course model

2. course user relation model: enrolment
We have an unique index on user in instance_users table, that is also wrong ?