event listeners are now ColorPicker methods
(cherry picked from commit 489923944779fe35510b77bc3e60aab0630246bc)
factorize event listeners
(cherry picked from commit 407b902a90d9dad23b3410bb0f94f0306d4a57a9)

Conflicts:
	colorpicker.js