[SPARK-1508][SQL] Add SQLConf to SQLContext.

This is still work in progress. (Potentially incomplete) List of things to do:

* Support set commands for `hql()`.
* Hook this into HiveContext as well.
* Run an end-to-end test on a cluster.
Separating the key and value sounds better.