Home page table and filtering

It isn't really new code, just code transferred from `comfy` into `cms` (and then slightly modified), but I can see it makes sense to update the whole line (`render :partial` isn't the way to go anymore). I'll update this one.