Better parser regex / handle empty front matter.

Regex better recognize Windows line endings. Moreover, if front matter
contain only delimiters (and nothing inside) delimiters are stripped
from content as expected in tests.
Added test for cross-OS line endings.

To proper tests cross-OS line ending 2 stub files have been added to
tests folder, one uisng DOS-like line endings, one using UNIX-like ones.