TRUNK-4212: Fix divide by zero error when repeatInterval=0, possible cau...

.Fix divide by zero error when repeatInterval=0, possible cause for test failure

TRUNK-4212: Commit task addition to database, possible cause of SchedulerServiceTest failure

TRUNK-4212: Turn on debug logging for the duration of SchedulerServiceTest, to try to diagnose intermittent test failures