Updating node definitions to the latest found in develop branch or 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