added ability to specify master and slave attributes for mesos