[cec] Fixed PeripheralCecAdapter application exit code handling.
      Introduced new field "exitcode" for "OnQuit" message (@pdf).
Merge pull request #5786 from ksooo/fix-cec-adpater-app-exitcode-handling

[cec] Fixed PeripheralCecAdapter application exit code handling.