Add the capability to simulate network splits to the RPC test framework and use it to do more extensive testing of 'getchaintips'.
Inspired by #3956, with a little more flexibility built in. I didn't touch rpcbind_test.py, because it only runs on Linux.
fixed some annotations and cleaned a bit received by tests d