use pbnjson in libluna-service2/message.c

:Release Notes:
Use pbnjson for message managing code

:Detailed Notes:
- replaced cjson code with pbnjson in message.c
- fixed test_message.c to avoid SIGTRAP on LSErrors

:Testing Performed:
unit-tests on desktop build

:QA Notes:

:Issues Addressed:
[BHV-6] luna-service2: replace cjson use with pbnjson

Open-webOS-DCO-1.0-Signed-off-by: Nikolay Orliuk <nikolay.orliuk@lge.com>

Change-Id: Ifdf11c79a13c872e7ba13be344f74a4274fbc32b
Reviewed-on: https://g2g.palm.com/4874
Reviewed-by: DCO Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
use pbnjson in transport

:Release Notes:
Use pbnjson in transport code

:Detailed Notes:
- replaced cjson sinppets of code inside of transport with a pbnjson
  ones

:Testing Performed:
unit-tests on desktop build

:QA Notes:

:Issues Addressed:
[BHV-6] luna-service2: replace cjson use with pbnjson

Open-webOS-DCO-1.0-Signed-off-by: Nikolay Orliuk <nikolay.orliuk@lge.com>

Change-Id: I86ac77626e940d1df8db73139e396383d457a107
Reviewed-on: https://g2g.palm.com/4875
Reviewed-by: DCO Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
use pbnjson in callmap

:Release Notes:
Now callmap uses pbnjson

:Detailed Notes:
- replace cjson code with pbnjson inside of callmap

:Testing Performed:
unit-tests on desktop build

:QA Notes:

:Issues Addressed:
[BHV-6] luna-service2: replace cjson use with pbnjson

Open-webOS-DCO-1.0-Signed-off-by: Nikolay Orliuk <nikolay.orliuk@lge.com>

Change-Id: I45559d03d1cd2772cc448b609d3709e72cb5a2e0
Reviewed-on: https://g2g.palm.com/4876
Reviewed-by: DCO Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
re-factor to prefer LOCAL_CSTR_FROM_BUF

:Release Notes:
Improve perfomance by using stack allocated strings

:Detailed Notes:
- slight re-factor to prefer stack allocated strings
  (LOCAL_CSTR_FROM_BUF) rather than heap (g_strndup)
- TODO: consider cases with (.m_str == NULL)

:Testing Performed:
unit-tests on desktop build

:QA Notes:

:Issues Addressed:
[BHV-6] luna-service2: replace cjson use with pbnjson

Open-webOS-DCO-1.0-Signed-off-by: Nikolay Orliuk <nikolay.orliuk@lge.com>

Change-Id: I980f3da0c4bd7747ba66909a1c1320d15d6c5864
Reviewed-on: https://g2g.palm.com/4877
Reviewed-by: DCO Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>