Starvation check in ClusterScheduler
Starvation check in Standlone scheduler
Changing to use Timer based on code review
Minor fixes
Remove hack workaround for SPARK-668.

Renaming the type paramters solves this problem (see SPARK-694).

I tried this fix earlier, but it didn't work because I didn't run
`sbt/sbt clean` first.
SPARK-702: Replace Function --> JFunction in JavaAPI Suite.

In a few places the Scala (rather than Java) function class is used.
Merge pull request #489 from pwendell/SPARK-702

SPARK-702: Replace Function --> JFunction in JavaAPI Suite.
Merge pull request #475 from JoshRosen/spark-668

Remove hack workaround for SPARK-668
Merge remote-tracking branch 'pwendell/starvation-check'

Also fixed a bug where master was offering executors on dead workers

Conflicts:
	core/src/main/scala/spark/deploy/master/Master.scala
Several fixes to the work to log when no resources can be used by a job.

Fixed some of the messages as well as code style.
Merge branch 'master' of https://github.com/mesos/spark into WithAB