Split get_courses_for_wiki impl

LMS-2914
need to add `search_targets` to docstring of `create_course`.