MDL-46295 course: add search box to all course listings, manage button when appropriate