fixed declaration of d3.Event interface

- added 'type' member into d3.Event interface
Merge pull request #2006 from alexeibs/master

fixed declaration of d3.Event interface