Color swatch plug value widget

I had this knocking around on an unmerged branch for doing node colouring - I figured we might as well get it merged as it addresses #625. The final commit isn't strictly necessary for these purposes, but with it the whole of my nodeColors branch will have made it to master and I can get rid of it.