Adds the ability to inject a DiagnosticConsumer into ClangTools.