Fix language service; doesn't capture declaration emit errors
Add fourslash testcases
Address code-review comments
Clarify comments
Merge branch 'master' into reportDeclarationEmitErrors
Merge pull request #699 from Microsoft/reportDeclarationEmitErrors

Report declaration emit errors