Consolidate YAML front-matter reading into one helper

@geoffrey-elliott found that the front page needed the contents of the Sinatra `request` helper. Are there other helpers that might need to be available as locals in the YAML parsing context? Think it's too risky to refactor this one out and lose the helpers?