add sorting for Code Comments table using tablesorter.js, ref #8
Revert "add sorting for Code Comments table using tablesorter.js, ref #8"
going to use server-side sorting instead of client-side

This reverts commit f948a2e9ccf80388d30955f02aaed85f6280a7ad.
sorting for Code Comments table ref #8

Implemented sorting for Code Comments table using python
works across all pages and takes into account existing filters as well
put checkbox as first column
implement a "check all" checkbox in Code Comments table ref #11

Added a checkbox in the first column of thead
Added JavaScript to implement the desired functionality, note I am not using new jQuery functions (such as `on()` and `prop()`) because trac ships with jQuery 1.4.4
Automatically check/uncheck all checkboxes when the "check all" checkbox is checked/unchecked
Automatically check/uncheck the "check all" checkbox when any/all other checkboxes are checked/unchecked
exclude check all checkbox from being added to a ticket ref #11

Made the jQuery selector that parses which tickets were "checked" to be added to a ticket more specific so that it wouldn't pick up the "check all" checkbox
moved the send-to-ticket JavaScript to external file ref #11

moved the send-to-ticket JavaScript to the same external file that holds the "check all" functionality
the JavaScript can now be cached by the browser
assigned the url that the send-to-ticket button uses to a data attribute so that it can be used in the external JavaScript file
replace $(this) by $this

replace $(this) by $this which was already set a few lines above
use $(this) instead of $this since it is only a one-time use
adjust semantics of the check all checkbox

removed the #check-all ID to the check all checkbox
added the .check class to the check all checkbox
adjusted the jQuery selectors to use td vs. th to differentiate the check all checkbox vs. others
adjust IDs jQuery selector in send-to-ticket function
remove space between keywords and colons
post_process_request() method in ListComments

added a post_process_request() method in ListComments
moved add_stylesheet and add_script calls to the new method
replace valid_sorting_methods dictionary with 2 tuples

moved sorting method identifiers and names to the same place so that they are easier to maintain. Dictionaries aren't ordered in python, so I used 2 tuples instead
remove date/time exception in search method

now that we have sorting method identifiers independent of their names, we no longer need the date exception in the search method
rewrite sorting methods loop

moved the loop to a new function to keep it independent of process_request()
removed dependance on urllib
no longer use member variables when unnecessary
simplified the loop and the method by which the links are created
rename and relocate displayed sorting methods variables

no longer relying on the Comments model for the displayed sorting methods
keep valid_sorting_methods in Comments model
create displayed_sorting_methods and displayed_sorting_method_names in the prepare_sortable_headers() method
delete the page query argument when building the url for the sorting links

when you choose a new sorting, you should always end up on page 1 again
Merge branch 'master' of https://github.com/Automattic/trac-code-comments-plugin

Resolved Conflicts:
	code_comments/templates/comments.html
Merge pull request #10 from jkudish/master

Proper sorting for the comments table