Rewrite Time.new_with_mock_time to not use exceptions as control flow.

This speeds up tests in jruby by 20%