Changed SparkConf to not be serializable. And also fixed unit-test log paths in log4j.properties of external modules.