Fix d3 Selection.node and update test

tsc d3-test.ts passes
Merge pull request #1032 from flxf/d3fix

d3 Fix Selection.node and update test