Revert "remove validate_module altogether"
Revert "remove validate_module altogether"

This reverts commit 8f7c9aea3d3c8b28b86c8fc5accdbef9d36fbf4b.

dimagi/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq