course and enrolment models

this depends on #19

1. new course model

2. course user relation model: enrolment
can a course be:
 - published but not opened
 - opened but not published
 - opened and published?

or do courses
 - closed
 - then published
 - then opened?