Better Datetime handling

This is a series of fixes, that includes handling mysql datetimes better and improving datetime roundtripping.  Also included is code to allow columns to cast based on whether value is coming from db or from user code, so that user's can use the same format for any adaptor(wasn't an issue, but may be with some DB's)