Refactored monitor code.
Fixed job triggering patterns for monitor
Modified monitor interface and added first test case.
Fixed a bug in the monitor: jobs now enabled correctly AFTER the start
of the scheduling.