Define format_html if we can't import it from Django. Closes #41