Switch from rdiscount to pandoc
Remove workarounds for rdiscount bugs