Refactored the executor launch path.
Refactored the executor launch path.

Refactored the executor launch path so to make the conditional
logic clearer. After this there is just one place that adds and
launches a new executor and we will subsequently be able to add
error handling there.

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

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