Upgrade to TypeScript 0.9.5
Avoid duplicate definition warnings when using relative paths in <reference/>s
Update plugin code to support:
- using a single output file, together with an options file for the parameters
- setting the target ECMAScript version
- automatic fallback to internal TypeScript compiler when 'tsc' is not on the path