DRY out YAML loading in rake check tasks
Adopt Jekyll's regex for YAML front matter

Change the regex for matching the YAML front matter
to that used by Jekyll::Convertible.read_yaml.