Refactor local filtering

Move LocalFilter module to Collection class. Abstract it
from items alone to a more generic approach.
Move #where to Conditioned module. Support local filtering for UserCollection.