create a library of functions re: markdown headers

Shoud be used by the keyboard and folding modules
markdown#headers: functions can now take a line to search from

pantondoc#folding#MarkdownLevelRelative() takes advantage of this.
Implement relative folding

Folding method is configured by the g:pantondoc_folding_method variable.

Fixes issue #9.