Scheduled task enhancements (P-282702)

Added maxTotalCountAllowed
Added SUSPENDED and DRY_RUN_ONLY statuses
Fixed php notice when logger is initialized in CLI mode