fix template reference for side notes, refs #270
provide comunication between markdowneditor controller and lesson controller, fixes #270