Fix markdown.lua to work with LUA 5.2

The `setfenv` variable is unavailable in LUA 5.2, so call it conditionally.
Merge pull request #69 from gns-ank/patch-1

Fix markdown.lua to work with LUA 5.2