Split get_courses_for_wiki impl

LMS-2914
Also, `get_courses_for_wiki` should now be added to the abstract class `ModuleStoreRead` in `modulestore/__init__.py`.