Use product/case id's in search rather than filter

Depends on https://github.com/dimagi/casexml/pull/229