MDL-48570 course: Moved course search above course list.

Fixed regression from MDL-46295 'Course search box in course/index.php doesn't show when you navigate to the page.'