make dijit/editor/range more AMD-ish, and remove some other references to the dijit global-ish variable, refs #13494 !strict