Added TAKEOWNERSHIP command to TorControlConnection.

This command tells Tor to exit when the control socket is closed. It can be used in combination with the __OwningControllerProcess config option to ensure that Tor exits when the controlling process exits. This has enabled us to remove a lot of zombie-hunting logic from Briar's Tor plugin.