Update d3.d.ts

Fix transform definition.
update mocha definitions
Merge pull request #887 from ashwinr/master

update d3 and mocha definitions