Markdown support
Show topic pagination and controls at top and bottom
Merge branch 'markdown'
Locked thread checks moved to permission checking functions - allows moderators to post in locked threads among other thigns
Banned users are devoid of any permissions
Some permission checking functions changed to take more appropriate parameters