Update to TypeScript 1.3

Update to TypeScript 1.3
Fix --noImplicitAny errors
Why do we need this cast? Is it a problem to use IConfiguration (config's real type)?