Prep for emitting compiled files to separate directories

* this is necessary to support an explicit source and output directory
Merge remote-tracking branch 'upstream/master'
Marking compiler outputs as derived resources.
Rebuild only TypeScript projects when the compiler settings are changed.