course and enrolment models

this depends on #19

1. new course model

2. course user relation model: enrolment
I think we shouldn't have opened and not published course, but I thought it was a UI issue,  can we restrict this at the db level ?