Ensure that _doRender is not called when element is not anchored / not setup
Have Legend listen to scale domain changes and re-render. Close #381
Merge pull request #383 from palantir/legend-listener

Legend listener