Major change in my_library.pl.
Remove a lot of unused subs: Notify, SendMail, CheckSameMessageInterval,
CheckMailBOW, CheckDoubleExecution, RewriteConfigFile (old).
Rename SetConfCheckDouble to GetConfig.
Remove unused parameters and return values from GetConfig.
Rename RewriteConfigFileNew to RewriteConfigFile.
Add CheckDBRole to ggserr_log_moditor.pl, it should run on Primary only.