Added new javascript library to make tables sortable. Made changes to
tables so that summaries are <tfoot> so they will not be affected by
sorting.