MDL-37009 Use renderer in print_remote_course(), print_remote_host()
MDL-37009 functions responsible for printing courses lists use renderers

- Functions print_course_search(), print_course() are completely moved to renderers and deprecated
- Functions print_courses(), print_my_moodle() now call renderer to produce output
- Added function course_get_coursecontacts() retrieving contacts for particular course
MDL-37009 Moved print_xxx functions to deprecatedlib

Deprecated functions code is moved from course/lib.php to lib/deprecatedlib.php:
print_course(), print_course_search(), print_remote_course(), print_remote_host()
Started merging course/index.php and course/category.php