fix binding events to document

each instance of cpp bind 3 times (mousemove, mouseup) callbacks to
document and after destroy does not clear it, except the lasts.
added namespace for color-picker in css