Parse $dates values when setAttribute called

Allows model to be assigned a date like string, without it having to match the database format exactly.