use DesignInfo objects during preindex

depends on https://github.com/dimagi/dimagi-utils/pull/243 and https://github.com/dimagi/commcare-hq/pull/5141