IVSSwitch: wait for ivs to terminate before tearing down node

This was a problem when running IVS in a container. IVS would begin the process
of closing controller connections on receiving SIGTERM, but often mininet would
have continued on and removed the control network interface from the container
before it could send the FIN. The controller wouldn't know the connection had
been closed until it timed out much later.
Merge pull request #289 from rlane/ivs-wait

IVSSwitch: wait for ivs to terminate before tearing down node