Updated to python-markdown-2.3.1 and some cleanup.