Do not print error codes by default

Adds a new compiler flag to emit error codes, and disable it by default. Fixes #693.

Maybe `emitDiagnosticCodes`, `printDiagnosticCodes`, or `longDiagnostics`. I don't mind `printErrorCodes` either.