Modals: Refactor course_description.js, add more to common util.js.

course.js required more functions from timetable_util.js. Those functions have been added to common/utilities/util.js.
course_description now constructs the course code separately, and can now retrieve the course title.