Use list.js new table sort script and fix bugs

Replace tablesorter.js with list.js and integrate list.js's fuzzy search capabilty, as tablesorter.js has some faults.
Use list.js in the log container, the stats page, the user management page and the admin dashboard.
Fix some bugs in the teacher quote link algorithm and the log template.