This PR adds tests for the new abortrescan RPC command.
A new function ref_node was added to util.py, which works like start_node except it never actually launches the process. This is used to get two node objects in python which work separately from each other, in order to make two simultaneous requests (importprivkey and abortrescan).