course and enrolment models

this depends on #19

1. new course model

2. course user relation model: enrolment
strictly speaking, you do not need it because the foreign key is an index. Postgres is smart enough to figure that out though.