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(), print_my_moodle() are completely moved to renderers and deprecated
- Function print_courses() 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(),
print_my_moodle()
MDL-37009 added class coursecat_renderable, added render(), altered course/index.php and course/category.php
MDL-37903 cache: implemented cacheable_object_array
course/info.php, unfinished
rendering courses view page, unfinished
course listings are moved from front page to renderer as is
frontpage courses lists: replaced different functions with rendering coursecat_renderable
added enrolled users
big renaming
temp search