Update typescript to 1.0.0

And right now, it doesn't work anymore due to karma, see https://github.com/karma-runner/karma/issues/990