Devices specially adapted for cleaning or disinfecting shavers or razors