Fixing for LocalScheduler with test, that much works ..
removing non-pertinent comment
Re-working in terms of changes to TaskSetManager. Verified with Standalone and Local mode.
style
Merge branch 'master' into SPARK-826

Conflicts:
	core/src/main/scala/spark/scheduler/local/LocalScheduler.scala
Leaking spark context in the test
mixing in SharedSparkContext for the kryo-collect test
reverting changes to SparkBuild.scala
initial externalization of ParallelCollectionRDD's split
+ bug fixes;

test added

Conflicts:

	core/src/test/scala/spark/KryoSerializerSuite.scala
adding ===
fixing formatting
refactoring using writeByteBuffer() from Utils.
changing approaches for parallelize(): java serialization needs to avoid writing headers!
reverting build file..again
Reverting SparkBuild w.r.t to branch fork ratherh than current trunk to avoid diffs appearing
resetting wrap and continuation indent = 4
realiging "extends" back manually
removing default constructor (not Externalizable any more)
reverting back to one-by-one serialization for parallelize()