Hotfix for the twilight restriction
A number of issues were spotted by @murveit after pushing the first fix to the twilight restriction.
This MR:
- Fixes the early dawn test, not properly considering dawn and dusk are in the future.
- Fixes a sign typo on a pre-dawn calculation.
- Fixes the night time for today not appearing when no job is selected in the table.
- Restores pre-dawn inclusion when deciding whether a SchedulerJob runs during night time or not.
- Makes all local times of Scheduler use the test-configured or SimClock local time.