Quick Title: allow html/smilies/bbcode

This is a pretty big change. Definitely needs thorough review.
whoops. $topic_title escaping should probably come AFTER smilies...