Fix generated JavaScript file not being added.

Even when there are errors on compiling the TypeScript
file the JavaScript file may be generated. So add
this generated file if it exists regardless if there
are any compilation errors.
Add TypeScript options panel.

Can switch on or off the compilation of TypeScript
files to JavaScript files when each file is saved.