Fix markdown.lua to work with LUA 5.2

The `setfenv` variable is unavailable in LUA 5.2, so call it conditionally. This fixes the bug #68.