[SPARK-2409] Make SQLConf thread safe.

Perhaps remove the last sentence of the first paragraph