fix get_brief_apps_in_domain to fetch brief only
fix get_brief_apps_in_domain to fetch brief only

and decouple code from get_full_non_remote_apps_in_domain

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