[SPARK-2052] [SQL] Add optimization for CaseConversionExpression's.

Add optimization for `CaseConversionExpression`'s.
Just curious - do you have a use case for this rule? I wonder how often it happens in practice.