Fix scripts/forum-dwarves.lua to work with 0.40.13
Add scripts/markdown.lua script. Based on forum-dwarves.lua but exports to markdown (obviously for reddit)