Text export lua scripts

Fixing /scripts/forum-dwarves.lua to work with 0.40.13 and adding new scripts/markdown.lua which is doing basically the same stuff, but in markdown (for reddit posts)
This line should probably be removed entirely in order for `help markdown` and `ls` to display an accurate description.