Added NFData instances for use with deepseq

With very large documents pandoc can have memory problems unless appropiate strictness is enforced. These changes enable this strictness by using deepseq.