Prevent lock of pmlogdaemon in syslog

:Release Notes:
Remove syslog calls from message handler
Move heavy operations to separated thread
Clean a few compiler's warnings

:Detailed Notes:

:Testing Performed:
TV booted successfully with debug level for default context
Checked LS2 APIs

:QA Notes:

:Issues Addressed:
[CMB-1565] Setting log level for default context to debug prevents a full startup

Open-webOS-DCO-1.0-Signed-off-by: Alekseyev Oleksandr<alekseyev.oleksandr@lge.com>

Change-Id: Idd3a3f3d96a7971a7db13a6e813d7a4f4927d883
Reviewed-on: https://g2g.lgsvl.com/6491
Reviewed-by: DCO Verification
Tested-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>
Merge branch 'develop'

Open-webOS-DCO-1.0-Signed-off-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>