Overhaul breakpad to optionally disable output. Add git-cl dcommit unit test.

This required fixing the adhoc mock to be more versatile.

TBR=cmp@chromium.org
BUG=
TEST=


Review URL: http://codereview.chromium.org/9178019

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@117896 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_cl.py b/git_cl.py
index 2922345..9ba9062 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1090,7 +1090,8 @@
     breakpad.SendStack(
         'GitClHooksBypassedCommit',
         'Issue %s/%s bypassed hook when committing' %
-        (cl.GetRietveldServer(), cl.GetIssue()))
+        (cl.GetRietveldServer(), cl.GetIssue()),
+        verbose=False)
 
   description = options.message
   if not description and cl.GetIssue():