SQOOP-1815: Sqoop2: Date and DateTime is not encoded in Single Quotes

Also includes unit tests.

(Veena Basavaraj via Abraham Elmahrek)