Merge pull request #50 from kayousterhout/SPARK-908

Fix race condition in SparkListenerSuite (fixes SPARK-908).

(cherry picked from commit 215238cb399d46c83fafa64b3c98e0ebec21adb9)
Signed-off-by: Reynold Xin <rxin@apache.org>
Merge pull request #49 from mateiz/kryo-fix-2

Fix Chill serialization of Range objects

It used to write out each element one by one, creating very large objects.

(cherry picked from commit 320418f7c8b42d4ce781b32c9ee47a9b54550b89)
Signed-off-by: Reynold Xin <rxin@apache.org>