Removes double relationship to same table

Korma seems unable to handle those when defined in entities and used
with `with`.
Adds get-registered-users by course id

Resolves #2