messages: remove complete mode
messages: implement pagination
small code touchups
courses: remove complete mode and fix /courses/semester/:semester_id route