Chainable filters for arrays and other collections, ActiveRecord-style