Add node methods to the test framework.
Summary:
Backport of core's PR10171
Depends on D956
Test Plan:
./test/functional/test_runner.py --extended
Reviewers: #bitcoin_abc, schancel
Reviewed By: #bitcoin_abc, schancel
Differential Revision: https://reviews.bitcoinabc.org/D961