Comment moderation js

Adds JS code for sorting, filtering, and pagination of comments for comment moderation.

UI tests are coming in a later PR.
...and now I see that it in fact doesn't.