[WIP][SPARK-2054][SQL] Code Generation for Expression Evaluation

This PR drops the aggregation code generation, which will be added back in a follow-up PR.  The following remains to be done:
 - [ ] Remove remaining spurious changes.
 - [ ] Make configurable with #956
Would be helpful to add class header comment to describe the usage of this class in bigger context.