Fix race condition in icinga::Log.

Refs #5337
Fix race condition in TimePeriod::Start.

Refs #5337
Merge branch 'feature/race-cond-5337' into next

Fixes #5337
Fix spelling mistake in ConfigItem::ActivateItems.

Fixes #5334