Updated for course_unit_test_section_entries.user_entry_id.
More course unit tests

More course unit tests
Fixed a bug.
Removed deprecated APIs.
Merge remote-tracking branch 'origin/back-end-working' into back-end-working
Improved cache updating for removed relations.