Add support for pandoc --include-in-header option

Totally recreational patch, handy for me and my sense of completeness. This is the last one, promise.