Implement correct foldtext for setext headers

Also, simplified the foldtext for the atx headers case.

Fixes issue #31