Fix potential crash in random color ramp

Badly choosen values (eg max < min) could cause a crash. Now, values
are sanitised prior to generating the ramp colors.
Fix grammar
Fix incorrect warning dialog appearing when creating new ramp

Previously a "not available" warning dialog would appear when
attempting to create a new color ramp using the categorised renderer.