Type inspector changes

- Fall back on :line when there is no :offset
- protocol change:  ":pos t" means that there is a position but we should ask later
- avoid using type-id as much as possible
Merge pull request #47 from edani/lines-604

Type inspector changes
Fix position ranges in "refactor"

Fix ensime/ensime#332. Also fix problems with DOS-mode line endings.
Merge pull request #48 from edani/mark-332

Fix position ranges in "refactor"