Markdown plugin expects Unix line feeds instead of two of any line endings

Use regex to accept Windows, OS X, and Unix line endings instead of expecting Unix line feeds.

Resolves issue #832.

(This is my first patch to Nikola.)