Fix compileOnSave with external module
Add fourslash tests to cover external module case
Fix spelling
Address code review
Merge branch 'master' into getEmitOutputExternalModule
Merge pull request #840 from Microsoft/getEmitOutputExternalModule

Get emit output external module