make sure valid_domains is a superset of owners
lazy migration for putting all shared_by domains into valid_domains
Merge pull request #2809 from dimagi/mm-bug

make sure valid_domains is a superset of owners