refactoring location logic that used in both web and mobile import
refactoring location logic that used in both web and mobile import

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