possibly working cron impl

cron entries are stored in scaling_schedule for cron-type schedules. these entries are deleted and inserted again with updated trigger after executing the policy. Added `update_delete_events` API for this. Also, changed `fetch_batch_of_events` to return the row as dict instead of tuple since tuple seemed to have too many elements in it.