csv plugin extracted _list_from_predicate from list and search

the list and search function had the same body with the exception of the
predicate to ifilter and the precondition.

I moved the search and post treatment logic to _list_from_predicate and
kept the precondition in search and list.