SPARK-2878 Use Spark's classloader when

This is more of a test change than one that'll actually fix the problem.  The
solution might require putting the application jars and even the repl
URLClassloader into the classloader that ends up instantiating the kryo
serializer.