[SPARK-2555] Support configuration spark.scheduler.minRegisteredExecutorsRatio in Mes...

...os mode.

In SPARK-1946(PR #900), configuration spark.scheduler.minRegisteredExecutorsRatio was introduced, but it only support Standalone and Yarn mode.
This PR try to introduce the configuration to Mesos mode.