[SPARK-979] Randomize order of offers.

This commit randomizes the order of resource offers to avoid scheduling
all tasks on the same small set of machines.

This is a much simpler solution to SPARK-979 than #7.

Author: Kay Ousterhout <kayousterhout@gmail.com>

Closes #27 from kayousterhout/randomize and squashes the following commits:

435d817 [Kay Ousterhout] [SPARK-979] Randomize order of offers.

Conflicts:
	core/src/test/scala/org/apache/spark/scheduler/cluster/ClusterSchedulerSuite.scala
	core/src/test/scala/org/apache/spark/scheduler/cluster/ClusterTaskSetManagerSuite.scala

Conflicts:
	core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala
	core/src/test/scala/org/apache/spark/scheduler/ClusterSchedulerSuite.scala
	core/src/test/scala/org/apache/spark/scheduler/FakeTask.scala
	core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala