refactor runParsedScript into several smaller methods
refactor runParsedScript into several smaller methods

eHealthAfrica/rapidsms,unicefuganda/edtrac,ken-muturi/rapidsms,rapidsms/rapidsms-core-dev,lsgunth/rapidsms,peterayeni/rapidsms,dimagi/rapidsms-core-dev,rapidsms/rapidsms-core-dev,unicefuganda/edtrac,unicefuganda/edtrac,ken-muturi/rapidsms,lsgunth/rapidsms,ehealthafrica-ci/rapidsms,caktus/rapidsms,dimagi/rapidsms-core-dev,catalpainternational/rapidsms,peterayeni/rapidsms,caktus/rapidsms,ehealthafrica-ci/rapidsms,lsgunth/rapidsms,eHealthAfrica/rapidsms,peterayeni/rapidsms,dimagi/rapidsms,lsgunth/rapidsms,catalpainternational/rapidsms,eHealthAfrica/rapidsms,dimagi/rapidsms,ehealthafrica-ci/rapidsms,ken-muturi/rapidsms,peterayeni/rapidsms,caktus/rapidsms,catalpainternational/rapidsms,catalpainternational/rapidsms