Integrate changes from flvq

This PR leaves the static files where they were moved to (in static/tables/js) and introduces two small fixes to the sheepdog_tables app.