SPARK-2269 Refactor mesos scheduler resourceOffers and add unit test

Actually I just removed it altogether :)