SPARK-1813. Add a utility to SparkConf that makes using Kryo really easy

To make it more consistent with other configs - should this be something like `setKryoClasses`? Also can we have it take the more general `Seq` type instead of `Array[]`? Finally, is it not okay to do `Seq[Class[_]]`?