CMS-2897 Convert DeleteModule to method on ModuleService. Renamed delete to deleteModule.