Migrating to typescript 0.9.1

see breaking changes:
https://typescript.codeplex.com/wikipage?title=Known%20breaking%20changes%20between%200.8%20and%200.9