MDL-33606 course: Adding section info to course_viewed log

Also changing references to section id to
section number, that it is what it really is.