Refctored tooltip drawing, added highlighting of selected bars, click to select bars.

Also added demo of these new features to SineDemo, and color handling
functions to GraphSeries.
Added click selection of bars, moved coloring series by selection.