Refactor front-matter extraction into category
Extract file name from front-matter if available

Still falls back to the old -titleString solution if front-matter
support is disabled, or no "title" key exists.

Fix #105