Fixes Arg_comparator::can_compare_as_dates to never, ever allow bad input data in comparisons. No more implicit conversions from bad datetimes are allowed. We throw an error on bad input always.
In addition, fixes the Field_date class's store() methods for integer types and corrects test cases that were allowing bad input.