Fix extractFrontmatter when no delimiter in fm

An extra \n was being included in the frontmatter when parsing DOS
encoding.
Parse content of the page.
Make long file parsing a benchmark

Also move parsing the frontmatter to when a page will be rendered.