Fixed a CHECK failure in Mesos containerizer recover.
Fixed a CHECK failure in Mesos containerizer recover.

It is possible that 'destroy' is called before the parent/child
relationship being properly setup. This is because we call
'container->status->onAny(reaped)` while recovering containers. Since
'recover' is asynchronous, 'reaped' might be called in the middle,
leading to 'destory' being called.

This patch defer the registration of 'reaped' callback until
parent/child relationship are properly setup.

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

yuquanshan/customizedMesos,neilconway/mesos,jpeach/mesos,reneploetz/mesos,gsantovena/mesos,kaysoky/mesos,zmalik/mesos,chhsia0/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,dforsyth/mesos,reneploetz/mesos,chhsia0/mesos,jpeach/mesos,zmalik/mesos,chhsia0/mesos,craimbert/mesos,zmalik/mesos,Gilbert88/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,Gilbert88/mesos,chhsia0/mesos,kaysoky/mesos,gsantovena/mesos,reneploetz/mesos,yuquanshan/customizedMesos,kaysoky/mesos,yuquanshan/customizedMesos,andschwa/mesos,jpeach/mesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,asamerh4/mesos,craimbert/mesos,Gilbert88/mesos,verizonlabs/mesos,abudnik/mesos,kaysoky/mesos,dforsyth/mesos,dforsyth/mesos,andschwa/mesos,verizonlabs/mesos,dforsyth/mesos,zmalik/mesos,neilconway/mesos,reneploetz/mesos,abudnik/mesos,andschwa/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,gsantovena/mesos,andschwa/mesos,reneploetz/mesos,yuquanshan/customizedMesos,craimbert/mesos,craimbert/mesos,chhsia0/mesos,reneploetz/mesos,abudnik/mesos,chhsia0/mesos,gsantovena/mesos,yuquanshan/customizedMesos,kaysoky/mesos,zmalik/mesos,verizonlabs/mesos,neilconway/mesos,chhsia0/mesos,zmalik/mesos,abudnik/mesos,kaysoky/mesos,reneploetz/mesos,abudnik/mesos,neilconway/mesos,dforsyth/mesos,andschwa/mesos,craimbert/mesos,asamerh4/mesos,abudnik/mesos,craimbert/mesos,zmalik/mesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,dforsyth/mesos,verizonlabs/mesos,Gilbert88/mesos,andschwa/mesos,gsantovena/mesos,andschwa/mesos,jpeach/mesos,jpeach/mesos,verizonlabs/mesos,asamerh4/mesos,kaysoky/mesos,asamerh4/mesos,gsantovena/mesos,yuquanshan/customizedMesos,craimbert/mesos,jpeach/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,Gilbert88/mesos,neilconway/mesos,asamerh4/mesos,gsantovena/mesos,abudnik/mesos,asamerh4/mesos,asamerh4/mesos,Gilbert88/mesos,jpeach/mesos