Renamed "add_honor_mode_to_course" to "add_mode_to_course" since we've removed the hard-coding.
Made the last "/" optional to avoid unnecessary redirection.