NXCM-4979: In some cases config might be left dirty.

The getCurrConfig(true) makes config dirty, but the
appConf.saveConfig might be omitted. This means that
in-memory config was left flagged as dirty, while
no save happened.
NXCM-4979: Reformat. no code change
NXCM-4979: Added diagnostic logs

Should help to better understand what happens, as
noone reporoduced this issue yet.
Merge remote-tracking branch 'origin/master' into nxcm-4979-tasks-dissapearing
Merge remote-tracking branch 'origin/master' into nxcm-4979-tasks-dissapearing
Merge remote-tracking branch 'origin/master' into nxcm-4979-tasks-dissapearing
NXCM-4979: Bumped task scheduler version
NXCM-4979: Applied comments
Merge pull request #767 from sonatype/nxcm-4979-tasks-dissapearing

[REVIEW] NXCM-4979: Tasks dissapearing