Add hakyll

This also needed some refactoring around happy, alex and pandoc;
hopefully things will be easier with GHC 7.8.1.