[SPARK-2608] fix executor backend launch commond over mesos mode

based on @scwf patch, rebased on master and have a fix to actually get it to work.
It failed to run with a single mesos master/slave without the fix.