Reworked `TaskQuery.by_dossier`

Renamed `TaskQuery.by_dossier` to `by_container`.

The Task ListingClass is used by different containers (inbox, yearfolder, dossiers), so it makes sense to rename the method and move the path_getter in to the query method itself.

@deiferni like we discussed