Constructive and Disruptive Effects of Noise in Nonlinear Systems with Hysteresis