Fixes issue 439: Added exitCode enum to differentiate between different error conditions

Issue link: https://github.com/Microsoft/TypeScript/issues/439

As per the suggestions in the issue, added an enum to indicate the different exitCodes - (success, parseError, semanticError, emitError, commandLineError). Updated the corresponding code in tsc.ts to utilize the enum.
Yes - especially in case there is some sort of differentiation we need to make down the line.