Add stats to "get" searches

Change-Id: Ib2d61e5153c5415d4f00ed4dfc26e524f3c14ab0
(cherry picked from commit 25cd7d65505c2264b4eb45e60cf86eee11d54c64)
Better error messaging in maintenance scripts

Hopefully no more <<the operation failed with error: "1">>.  "1" isn't a
useful error message.  Nope.

Change-Id: I3c7d0eb67e33335f08472d8d8c0518ad9b9a009a
(cherry picked from commit 15b0043485d7ea217004ac0cc0d36abe30751fb4)
Merge "Add stats to "get" searches" into wmf/1.24wmf22