clean up dom elements

bootstrap colorpicker add some hidden elements at the root of the DOM tree. 

When using dynamically added and removed colorpickers, it ends up with lot of ghost elements that may slow down browsers. This patch remove them on scope destruction (event associated with the destruction of any page subtree).