Update rpc_* functional tests to use the new .format() method
Summary: Avoid using % to format strings, switch to the new method instead.
Test Plan:
./test/functional/test_runner.py rpc_bind rpc_invalidateblock
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Subscribers: teamcity, schancel
Differential Revision: https://reviews.bitcoinabc.org/D2571