Refactored graph checkpoint file reading and writing code to make it cleaner and easily debuggable.
Merge branch 'driver-test' of github.com:tdas/incubator-spark into driver-test
Removed spark.hostPort and other setting from SparkConf before saving to checkpoint.