Fix more bugs in PeriodValueRange.

I should have just copied IntValueRange directly. :-)
Disable solutions with tasks of 0 duration, as it breaks the rules.

Will be reported to organizers. Will make solver and test fail for
problems 3, 5, 7, 8 and 9.