Updating node.d.ts to Latest in typescript samples

Updating node definitions to the latest found in develop branch of
https://typescript.codeplex.com/SourceControl/BrowseLatest

Main change is that a number of interfaces have been converted to classes so they can be extended - EventEmitter is a good example