Table fixes and html validation

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