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.
Remove some rogue whitespace in utilsTests
Merge pull request #129 from palantir/fix-legend-rerender

Fix legend rerender