[Spark-544 ] Migrate all configuration to SparkConf.

This PR tries to merge SPARK-544 to scala 2.10 and also refactors all configuration(except new-yarn's) to use typesafe config only internally. Only SparkConfBuilder is exposed to the end users.

The configuration like System.getProperty("os.name") etc.. are left out for they are set by vm.