Fix unbounded Tvar in d3.d.ts
Restoring d3 tests and adding runscripts.