Include all .ts files from referenced projects when building

Projects can specify an exported folder in their TypeScript build path settings,
and if set, only that folder is included when the project is referenced.