Fixed indentation in src/main/mode.ts.
Using new parser code by using `SourceFileObject.createSourceFileObject`.

Could simply use `ts.createSourceFileObject`, but in that case `getSyntaxTree()`
won't work since it relies on existing of `scriptSnapshot` property.

Could also simply add this property, but decided to go with corresponding
ready-to-use factory for better maintainability.
Updated TypeScript to e2071a in order to fix Microsoft/TypeScript#492.