[SPARK-4205][SQL] Timestamp and Date classes which work in the catalyst DSL.

These Timestamp and Date classes support the usual comparison operators, so they can be used in catalyst Expressions.  They come with implicit conversions to and from the underlying Java classes.  They also have a convenient initializer which accepts a String.

Additional implicit conversions fix an issue with the DSL where expressions like 0 < 'x are not recognized.

Oh yes, sorry I missed the newly added `DateType` and `TimestampType` here. Then would you mind to also add these two in `NativeType.defaultSizeOf`?