Emit error codes when reporting diagnostics.

Addresses part of issue #506.
Turned redeclaration into a string append.
Made diagnostic lowercase.
Updated error reporting within harness to match that of tsc.
Merge branch 'master' into printDiagnosticCodes
Merge pull request #508 from Microsoft/printDiagnosticCodes

Emit error codes when reporting diagnostics.