TRUNK-4212: 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
Merge pull request #989 from anotherdave/TRUNK-4212-3

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