Use stubs instead of mocks for DAGSchedulerSuite.
Merge branch 'master' into nomocks

Conflicts:
	core/src/test/scala/spark/scheduler/DAGSchedulerSuite.scala
Override DAGScheduler.runLocally so we can remove the Thread.sleep.
Fix MapOutputTrackerSuite.
Fix TaskMetrics not being serializable
Fix reference bug in Kryo serializer, add test, update version
Prevent DAGSchedulerSuite from corrupting driver.port.

Use the LocalSparkContext abstraction to properly manage clearing
spark.driver.port.
Notify standalone deploy client of application death.

Usually, this isn't necessary since the application will be removed
as a result of the deploy client disconnecting, but occassionally, the
standalone deploy master removes an application otherwise.

Also mark applications as FAILED instead of FINISHED when they are
killed as a result of their executors failing too many times.
Merge remote-tracking branch 'stephenh/nomocks'

Conflicts:
	core/src/main/scala/spark/storage/BlockManagerMaster.scala
	core/src/test/scala/spark/scheduler/DAGSchedulerSuite.scala
Merge pull request #515 from woggling/deploy-app-death

Notify standalone deploy client of application death.
Merge pull request #512 from patelh/fix-kryo-serializer

Fix reference bug in Kryo serializer, add test, update version
Update kryo-serializers version in pom.xml to match previous commit
Merge remote-tracking branch 'woggling/dag-sched-driver-port'

Conflicts:
	core/src/test/scala/spark/scheduler/DAGSchedulerSuite.scala