THRIFT-2522 TypeScript extension for Thrift Compiler

Adds the possibility to generate TypeScript Definition Files in addition to the generated JavaScript code (new parameter 'ts').
Supports JQuery, NodeJS support will come soon.