datalib: get_courses_search() learns to be smart about contexts...
datalib: get_courses_search() learns to be smart about contexts...

Join against contexts, save bazillion context lookups...

dilawar/moodle