Add support for rebooing jailed (virtual) nodes, either remote or
local. For local nodes, need to cull out jailed nodes if the phys node is also going to reboot. Jailed nodes are rebooted serially since they go down much faster. Fix up recently added wait mode for jailed nodes. Also, I noticed that I was having problems with events not filtering through stated before going into the ISUP wait loop; I was catching the nodes still in ISUP instead of SHUTDOWN. I added a sleep(2) before going into wait mode, but this might be something to watch out for elsewhere too.