Upgrade Markdown, deprecate esp.lib.markdown

Resolves #525.