Mark SQLContext transient and put it in a second param list.

The second part follows the current pattern of the rest of Spark SQL codebase.
Bullet-proof (relatively) parsing SET per review comment.
De-hardcode number of shuffle partitions for BasicOperators (read from SQLConf).