Markdown support

This implements markdown use instead of bbcode. It can be configured in misc settings, default is still bbcode. As a side-effect quotation text now is generated in single place - helpers.format_quote. Javascript that handles quoting into quick-reply box now fetches /post/<int:post_id>/format_quote url that presents formatted quote. A side-effect of that - bbcode/markdown is not lost in quotes.