Updates for TypeScript 0.9 and Definitely Typed

Updated for TypeScript 0.9 and replaced definition files with
DefinitelyTyped