added setFilters

for #196

note that instead of implementing the whole API discussed in the issue, i did not change `setFilter` (thereby retaining backwards compatibility) and instead added `setFilters`, which takes an array of filters.