[lint] replace autopep8 with black (everything but contrib)
Summary:
Run black on all files previously linted by autopep8, excluding "contrib" (will be split over more diffs for ease of review).
See D13876 for more background on black.
Note that this also touches some files previously processed in D13879, D13880 and D13881. This is because I did not rerun the linter after landing D13882, so already submitted diffs did not apply a few of the --preview related changes.
Depends on D13888
Test Plan:
With chronik enabled: ninja all check-all
arc lint --everything
CI builds
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D13889