tests: fix DateTime.isPast() under pinDateTime

When under a pinDateTime context, d.isPast() was comparing d with the
actual current date, not the fake date from the pinned context.

Also, make the methods class methods, so that they can be used as
external methods in Zelenium tests.
261 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

02:32:20

failed ERP5.PerformanceTest-Master

04:42:36

passed ERP5.UnitTest-Master

03:44:42

passed SlapOS.Eggs.UnitTest-Master.Python2

00:23:15

passed SlapOS.Eggs.UnitTest-Master.Python3

00:21:46

failed Wendelin.UnitTest-Master

00:59:18

passed ERP5.CodingStyleTest-Master

04:08:33

passed ERP5.CodingStyleTest-Master

03:08:10

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:07

failed ERP5.PerformanceTest-Master

01:00:39

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:58:40

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:02

failed ERP5.PerformanceTest-Master

00:58:39

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:06

failed ERP5.PerformanceTest-Master

00:58:41

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:43

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

01:17:38

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:05

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:06

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:58:22

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:12

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:02

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:01

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:21

failed ERP5.PerformanceTest-Master

00:00:01

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:02

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:01

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:02

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:58:16

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:58:02

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:02

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:01

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:05

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:58:06

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:14

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:08

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:58:22

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:58:08

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.PerformanceTest-Master

00:00:04

failed ERP5.PerformanceTest-Master

00:00:03

failed ERP5.UnitTest-Master

06:11:22

passed SlapOS.Eggs.UnitTest-Master.Python2

00:45:37

passed SlapOS.Eggs.UnitTest-Master.Python2

04:22:07

passed SlapOS.Eggs.UnitTest-Master.Python3

00:33:00

passed SlapOS.Eggs.UnitTest-Master.Python3

00:26:58

passed SlapOS.Eggs.UnitTest-Master.Python3

00:21:59

passed SlapOS.Eggs.UnitTest-Master.Python3

00:18:11

passed SlapOS.Eggs.UnitTest-Master.Python3

00:21:15

failed Wendelin.UnitTest-Master

00:53:51

failed Wendelin.UnitTest-Master

01:12:30

failed Wendelin.UnitTest-Master

01:06:47