Update the algorithm for removeTrailingSlashes

It used to remove *all* slashes.
Add line breaks between lines.
Add shortcode for ART
Fix the second course for shortcoded depts
Add a comment about breakage
Add a spot for a hasTakenCourse function