Modified TypeScriptFilter to use the local file (if it exists) so the TypeScript compiler will honor resource paths.
Also updated TypeScriptFilterTest to cover new scenario.