Merge pull request #9 from am11/super-markdown

Cleanup: Code formatting.
Markdown: Fix preview pane

Get ContentType from document TextBuffer
instead of primary (projection) TextBuffer.

Also cleanup code.
Markdown: Allow spaces before fenced code blocks

Includes test cases
Markdown: Extract TabAwareCharacterStream class

Shortens MarkdownParser.cs, which was getting rather long