Accept pandoc-style YAML frontmatter

Pandoc (and some other tools) have decided to end their YAML frontmatter
with `...` instead of `---`.  In the name of flexibility, this patch
allows either to mark the end of YAML frontmatter.

Example:

```
---
title: No place like home
...
```

This is driving me nuts because I use pandoc to normalize, reflow and cleanup
my markdown and I cannot figure out how to fix pandoc...