Special \sectionNotes and \sectionExercises macros.

Added macros for sections on notes and exercises which put them in table of contents.
Replaced throughout.