MT#8969 fix perl warnings:

Bareword file handle opened at line 28, column 1. See pages 202,204 of PBP. (Severity: 5)
Two-argument "open" used at line 28, column 1. See page 207 of PBP. (Severity: 5)
Integer with leading zeros: "0777" at line 285, column 48. See page 58 of PBP. (Severity: 5)
Integer with leading zeros: "0666" at line 309, column 46. See page 58 of PBP. (Severity: 5)

Two-argument "open" used at line 64, column 1. See page 207 of PBP. (Severity: 5)
Integer with leading zeros: "0666" at line 247, column 71. See page 58 of PBP. (Severity: 5)

Change-Id: Ic1eae412e4e39e8fd8a41537b9ecf846d4814f9a
(cherry picked from commit 2c31646433ff46d465f99a4ec6e17180f443d582)
MT#8969 Use Config::Simple to manage configs

fix perl warnings (both perl files):

Stricture disabled at line [37|73], column 9. See page 429 of PBP. (Severity: 5)

Change-Id: I2ffef64fef4e68ac9305e29da6c0743f00c25c1f
(cherry picked from commit f8a5e3a7e8bf4e386ca9befe11ced7fccc446ffd)
MT#8969 fix file permissions

Fixing regression from commit 2c31646:
mode "0644" sets mode to --w----r-T as perdoc -f chmod explains.
See PBP pages 58-59 for details.

(cherry picked from commit edfaf05f8b25a644359ff4e2c8fa8ba88ec853a9)
MT#7793 fix alias handling and merge updates

Fix exports for multiple alias numbers.
Implement update merging of events.

(cherry picked from commit 2bf2473d50357e5eef472302b3f09c02a0ccef63)