[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.
Should they share the same key? Judging from the code it seems so...