Preserve seconds when casting datetimes

The datetime caster throws away the seconds portion of the fractional day in its calculation, this should fix that.

I've had to adjust the value '41505.77084' in all of the original datetime tests because it actually represents '2013-08-19 18:30:01'