Incorporate krazy2 patch by Dominik Broj.

Changes AnnotationDialog::Dialog and BackgroundTaskManager::JobViewer to inherit from KDialog.
Sanitize header include guards.

CCBUG: 321079