Adding diff view to markdown editing.
Refactoring MarkdownEditor to use update events.
Merge branch 'markdown-diff'. Resolves #85.