Add thead, tbody and tfoot tags to wiki tables

Redcloth doesn't add thead, tbody and tfoot tags to the tables and as a result, you can't use popular javascript libraries that add table sorting, searching, etc (datatables, etc) to the tables.  This fix will enable those libraries to be used.