Extract out with_env_tz helper method.

It’s used at so many places that extracting it out into a helper file
is worth doing.
Merge pull request #15799 from zuhao/refactor_activesupport_time_zone_test_helpers

Extract out with_env_tz helper method.