MDL-38145 conditionlib_test calls API functions to create course and category
MDL-38110 cache: increased ttl unit test value to avoid timing issues
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()
coursecat: Created class coursecat, added cache definition and lang string
coursecat: changed to using Sam's cacheable_object_array
coursecat: added functions make_categories_list() and get_all_parents()
usages of make_categories_list() converted to calls to coursecat
move function make_categories_list to deprecatedlib
coursecat: added functions to delete category, changes to phpdocs in other functions, lib/datalib purge cache
deprecated category_delete_move() and category_delete_full(), replaced calls to them with coursecat functions
coursecat: added move(), show(), hide()
deprecated and replace with coursecat::* functions move_category(), course_category_hide(), course_category_show()
coursecat: changed phpdocs to make_categories_list()
remove occurences of make_categories_list()
course/lib renaming move to update
course/manage renaming move to change_parent
added get_category() to course requests
coursecat: added update(), change_parent(), create(). Plus lang strings