Set paint brush size/intensity
Add brush viewer.

* Added javascript implementation to get color given gradient.
* Added "brush-canvas" directive to update brush image when brush/palette
  changes.