[buildbot] Add a facility for fetching the files changed in a given revision
Summary: This will be used in an updated version of D8471
Test Plan: pytest
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D8473