Added trailing slashes

Added trailing slashes otherwise the course_id regex sometimes eats up get parameters.

LMS-2738