Small fixes for language services.

* `checker` object is used by `createIntrinsicType`, so it needs to be created earlier.
* `acquireDocument` should create file bound to it's snapshot.