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

Since this is adding to a list, register is probably better than set, because it doesn't replace the previous ones.