deprecated category_delete_move() and category_delete_full(), replaced calls to them with coursecat functions
deprecated move_category(), course_category_hide(), course_category_show()

All usages in core replaced with:
- coursecat::change_parent()
- coursecat::hide()
- coursecat::show()
deprecate get_course_category(), change usage to coursecat
deprecate create_course_category(), avoid direct DB update of table course_categories

changed to usage of
- coursecat::create()
- coursecat::update()
temp commit to make sure categories exist