Table fixes and html validation

#1875 - Fixes the table sort persistence
#1807 - Turns on html validation
#1804 - Adds a check all box for table

Use consistent quotes I guess.

There's a lot of flip-flopping between `'<string>'` and `"<string>"`.  I think the rest of the site uses `'<string>'` for strings in JS, and `"<string>"` for strings in HTML.