An electronic-textbook company called CourseSmart lets teachers track whether and how their students are reading assigned textbooks, allowing them to tack on “engagement index” scores to the students’ performance. It’s the latest form of intrusion in private habits driven more by marketing and gimmickry than good intentions.