Fix front-matter parser and add test.

Remove requirement for mfsa_id key in YAML. Get it from filename.
Move markdown and YAML parsing to utils.