Add possibility for dash in course code

This prq adds the possibility for course codes such as `INF-MAT2000`.

This fixes #299 .
I got an error in the console, and also the URL was changed from when testing on master