Windows: Tied task lifetimes to executors.
Windows: Tied task lifetimes to executors.

To enable recovery of checkpointed tasks, the agent must be able to die
without also killing the executors and tasks, thus we cannot set the
"job object kill on close" limit unconditionally. However, the executors
must still be able to kill their tasks when they die, so we explicitly
enable this limit through a parent hook when launching the container for
the task. In this way, the agent can be restarted (e.g. for an upgrade)
without killing the executors, but the executors are still capable of
killing their tasks on catastrophic death.

Review: https://reviews.apache.org/r/65400

reneploetz/mesos,gsantovena/mesos,dforsyth/mesos,dforsyth/mesos,asamerh4/mesos,dforsyth/mesos,reneploetz/mesos,andschwa/mesos,gsantovena/mesos,kaysoky/mesos,gsantovena/mesos,reneploetz/mesos,asamerh4/mesos,andschwa/mesos,chhsia0/mesos,chhsia0/mesos,dforsyth/mesos,kaysoky/mesos,Gilbert88/mesos,jpeach/mesos,abudnik/mesos,chhsia0/mesos,chhsia0/mesos,gsantovena/mesos,Gilbert88/mesos,kaysoky/mesos,kaysoky/mesos,jpeach/mesos,asamerh4/mesos,andschwa/mesos,chhsia0/mesos,dforsyth/mesos,Gilbert88/mesos,andschwa/mesos,Gilbert88/mesos,abudnik/mesos,andschwa/mesos,Gilbert88/mesos,abudnik/mesos,jpeach/mesos,asamerh4/mesos,dforsyth/mesos,gsantovena/mesos,asamerh4/mesos,jpeach/mesos,chhsia0/mesos,andschwa/mesos,jpeach/mesos,reneploetz/mesos,asamerh4/mesos,reneploetz/mesos,gsantovena/mesos,Gilbert88/mesos,Gilbert88/mesos,reneploetz/mesos,chhsia0/mesos,abudnik/mesos,kaysoky/mesos,reneploetz/mesos,andschwa/mesos,kaysoky/mesos,kaysoky/mesos,gsantovena/mesos,jpeach/mesos,abudnik/mesos,abudnik/mesos,jpeach/mesos,asamerh4/mesos,abudnik/mesos,dforsyth/mesos