Backport core's PR11078, PR10318several PRs and commits, PR10124 and PR11319plus fix a few nits.
Plus a few nits.R #10318: [tests] fix wait_for_inv()
3e3c22f [tests] fix wait_for_inv() (John Newbery)
PR #10124: [test] Suppress test logging spam
45ce471 Reduce spammy test logging (John Newbery)
Commit a7820422e (Part of PR #11319)
qa: Treat mininode p2p exceptions as fatal (Suhas Daftuar)