Add filters to TimeEntry#index (and a bunch of minor changes).