Put toPrettyTerm into helpers/semesterName
Test toPrettyTerm
Remove an extra space from another test
Flatten the course results list for easier rendering
Only fetch the pretty term name once
Re-sort the query results array because Firefox is weird