Corrected bug in triggering of Schedules

This correction will 
1. Fix return of "null" in getScheduledFireTime() for the first time.
2. Make sure that the scheduledFireTime is correct for all triggers.
Merge pull request #69 from vivganes/patch-1

Corrected bug in triggering of Schedules