Updating /analyze script to use logdog, improve code style

When the /analyze builder switched over to logdog the scripts for
retrieving the latest warnings and generating a report on the new ones
broke. This change updates the script to use the logdog tool to download
the results. It also moves the code to be much more inline with Google's
Python coding standards.

R=chengx@chromium.org
BUG=427616

Review-Url: https://codereview.chromium.org/2793453002
Cr-Original-Commit-Position: refs/heads/master@{#461552}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e8b33cd8b431de2e385e174c7ee96e3aedd971ee
1 file changed