use python pillow for filtering

this will allow checkpoints to update even if there are no matching docs

depends on https://github.com/dimagi/pillowtop/pull/58