Case sharing assertions

https://github.com/dimagi/commcare-hq/wiki/case_sharing-assertions-spec

Relies on https://github.com/dimagi/commcare-translations/pull/5