Fix for truncating error bug.

refs #15927
Merge branch 'bug/15927' into develop
controllers: Fixed type on current_app.

refs #16215
install_course: Added missing vars/funcs.

Was missing install_course_to_site from util.py and the filtered courses list,
which was probably lost somewhere in some merge conflicts.

refs #16215
celery: use the app_context

refs #16215
celery: fixed out of context issue

refs #16215
Switched from using courses to course_details.

Next fix is on the moodle end; dml_missing_record_exception
is being raised for a course install.

refs #16215
Merge branch 'bug/16215' into develop
api: version the api

refs #16323
API: report.js follows API version

refs #16323
API: fix up some name conflicts

refs #16323
API: install_course.js follows API naming

refs #16323
API: update_module.js follows API naming

refs #16323
API: moved delete_object into API controller

refs #16323
API: moved update_object into API controller

refs #16323
Merge branch 'bug/16323' into develop
Inactive column now shows correct user counts.

refs #16335
Merge branch 'bug/16335' into develop
Fixed incorrect url.
pep8

manage.py
tasks.py

refs #15555