Added beginning_of_minute support to core_ext calculations for Time and DateTime