Add pandoc support, from r-travis, untested

We would need some testing in general, btw.