Auto complete courses.

Auto complete when all lessons are complete, if there is not a course
test. If there is a course test, complete when all lessons are complete
as well as the course test.