Code for making the Chapter as viewd and making the lesson as viewed
when all the chapters are seen.

refs #31128