Update to TypeScript 1.3

Update to TypeScript 1.3
Fix --noImplicitAny errors
+"1" -> 1, this is the javascript idiomatic way to convert strings to numbers. We need this, because arrays must be indexed by numbers.