Refactor the imports in p2p_* tests
Summary:
Remove all the import *, fix imports from messages and make the layout
consistent accross tests.
This will later allow for more checks using flake8.
There is no fonctional change.
Test Plan:
./test/functional/test_runner.py p2p_*
Reviewers: #bitcoin_abc, deadalnix, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Subscribers: teamcity, schancel
Differential Revision: https://reviews.bitcoinabc.org/D2596