Added a check in the master to reject tasks with neither
a CommandInfo nor an ExecutorInfo present.

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

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1444268 13f79535-47bb-0310-9956-ffa450edef68