Add/edit note in external editor, preview as markdown

Add a format for the note text, defaults to markdown.
Add a button to an item note to launch and edit the text in an external editor.
Add a button to toggle notes as preview or inline text editor, so we can preview notes as markdown, or other text->html formats (code, mathJax, Mermaid, etc)