Patches to build successfully against ghc 7.6 and pandoc-1.10

I have not coded in Haskell for a while, so I am not sure if this is the best way to fix the incompatibility with ghc 7.6 and pandoc 1.10. Nonetheless, with these changes, yst compiles and works for my website.