Added examples and unit-tests for 'gcolor.hysteresis'