Additional trace flag for diagnostics

Trace flag 477 alters compatibility mode. For every query evaluated, Adaptive Server prints this message to the error log, which indicates if Adaptive Server used full compatibility mode to process the query:

Compatibility = true | false

The message includes the reason if compatibility mode is not chosen, and the query text, if available.