Reminder rule performance

Makes running rules on domains with lots of cases (i.e., > 10,000) manageable.

Depends on https://github.com/dimagi/dimagi-utils/pull/195