Style
WIP: Remove old method for reference binding, more work on configuration.
Refactor putting SQLContext into SparkPlan. Fix ordering, other test cases.