Add per-lesson exclusion of given content types

For example, a teacher can choose not to include example code if it's
beyond the scope of the course curriuculum.