ComponentGroup has chainable addComponent call
Add unit tests for new ComponentGroup behavior (adding new components)
Merge pull request #121 from palantir/add-example-page

Added full examples demo page.
ComponentGroup has chainable addComponent call
Add unit tests for new ComponentGroup behavior (adding new components)
Correct Table return types
Refactor truncateTextToLength out of Label and into Utils.
Add better unit testing.
Change API so it no longer modifies the element as a side-effect, but instead
takes the text, element, and length, measures the text in the element, returns
shorter text, and returns the textElement to its original state.

I think this is a better API so that it can be called multiple times without
getting into weird states, and its easier to reason about functions without
side effects.
Merge branch 'truncate-text-to-utils' into add-legend
Add ColorScales
Merge pull request #123 from palantir/truncate-text-to-utils

Refactor truncateTextToLength out of Label and into Utils.
Add utility for getting the text height in a text element
Add the Legend class. It draws a legend.

Still basically a prototype, it could probably be further improved, but it works.
Minor fix, remove the svg at the end of the last legend test
Some code cleanup
Have measurement text include ascenders and descenders
Good it delete old code
Merge pull request #126 from palantir/add-legend

Add legend
Remove a bad it.only from unit tests.
Remove an errant console.log from a test
Fix legend so on re-render it will not create duplicate text nodes, and it udpates properly if the domain changes.
Took a very direct approach, IE wipe out the legend contents and then re-build from scratch. This is not efficient from
a perf standpoint, but the size of a legend is a small constant so I don't think it matters. We can always implement a
more efficient approach later if the legend perf starts to matter.

Added unit tests to verify correct behavior, of course.