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 reference bug in Kryo serializer, add test, update version
Added choice of persitance level to Bagel. Also added documentation.
Adding test for non-default persistence level
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
Fix doc style
Merge pull request #513 from MLnick/bagel-caching

Adds choice of persistence level to Bagel.
Send block sizes as longs.
More quickly call close in HadoopRDD.

This also refactors out the common "gotNext" iterator pattern into
a shared utility class.
Forgot equals.
Remove NextIterator.close default implementation.