Tweaks to parse_readme()

@bgrant did this while waiting for Travis -- based off of your parse_readme() function.