Improved cmark_markdown_to_html.

Added length parameter so we can avoid strlen.
Properly free buffer.
Added example wrapper.py.

This shows how to use the shared library from python.