Add handling for logging and gtest comparison macros.

The tool has trouble handling substitutions for these macros, since the
macros wrap helper functions that perform the actual comparison. This
causes the tool to emit replacements for the code inside the helper
functions, when the proper fix is to emit replacements for the macro
arguments.

This patch adds matchers to catch calls to these helper functions with
a raw T* and a scoped_refptr<T>, so the main matcher can ignore these
replacements and let a logging/gtest specific MatchCallback process
these results instead.

BUG=110610
R=rsleevi@chromium.org

Review URL: https://codereview.chromium.org/488933002

Cr-Commit-Position: refs/heads/master@{#291615}
6 files changed