CMS-2966 Convert all ResourceRequests to use Q promises instead of JQuery promises

Done for InstallSiteTemplateRequest and InstallModuleRequest