Provide mechanism to add default values to jvalue

:Release Notes:
Add functional to insert default values to existing jvalues
Default values are defined in schema

:Detailed Notes:

:Testing Performed:
Unit tests + MiniBat

:QA Notes:

:Issues Addressed:
[BHV-3142] Provide possibility to fill-up default values in jvalue according to schema

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

Change-Id: Idf7909ea2223e82b70354c902bb00be0edbd8c05
Reviewed-on: https://g2g.palm.com/5687
Reviewed-by: DCO Verification
Reviewed-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>
Tested-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>
Reviewed-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Reviewed-by: Sergiy Kryvonos <sergiy.kryvonos@lge.com>
fix bug caused a schema id collision

:Release Notes:
Fix message "The same fragment XXX is added second time!" reported
during oneOf/anyOf/allOf schemas parsing. Fix for refs in definitions.

:Detailed Notes:
- put assert for fragment duplication check to track such issues
- factor out collect_schema from collect_uri_enter to grab more control
  over process of traversing
- cleaned out address calculation for non-addressable elements
- collect definitions with ref-schema
- add tests for definitions with ref-schema

:Testing Performed:
unit tests under desktop build

:QA Notes:

:Issues Addressed:
[BHV-8631] libpbnjson: fix 'oneOf' behaviour for fragments without id's

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

Change-Id: If92cef529bb7f24b94c5d547fa664f2418595b41
Reviewed-on: https://g2g.palm.com/5766
Reviewed-by: DCO Verification
Reviewed-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Tested-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
drop fragments stack

:Release Notes:

:Detailed Notes:
- removed unused stack of fragments with associated tests
- escape_json_pointer changed to work with non-ASCIIz strings
- fixed compiler/gcc/builtins.h to be able included alone without others
- factored out uri_scope_get_uri_unsafe as access to top of uri_scope
  with expectation that it present

:Testing Performed:
unit tests under desktop

:QA Notes:

:Issues Addressed:
[BHV-8631] libpbnjson: fix 'oneOf' behaviour for fragments without id's

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

Change-Id: Ic9256d8388b3ab35fd4b588cadb6c59864302570
Reviewed-on: https://g2g.palm.com/5797
Reviewed-by: DCO Verification
Reviewed-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Tested-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Fix local URI resolution

:Release Notes:
Fix local URI resolution

:Detailed Notes:
fix root_scope when parsing schema from the file
fix local URI resolution in referenced file

:Testing Performed:
unit tests

:QA Notes:

:Issues Addressed:
[BHV-1568] [api] Fix local URI resolution

Open-webOS-DCO-1.0-Signed-off-by: Andrii Zora <andrii.zora@lge.com>

Change-Id: I59c095e64026a9c3000ecc9e7c27c86b4d4e6857
Reviewed-on: https://g2g.palm.com/5801
Reviewed-by: DCO Verification
Reviewed-by: Andrii Zora <andrii.zora@lge.com>
Tested-by: Andrii Zora <andrii.zora@lge.com>
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Version bump to 2.8.0

:Release Notes:

:Detailed Notes:

:Testing Performed:
unit tests

:QA Notes:

:Issues Addressed:

Open-webOS-DCO-1.0-Signed-off-by: Andrii Zora <andrii.zora@lge.com>

Change-Id: I7bdbabd3bb2c668b6266775ce716e383966ce4a8
Reviewed-on: https://g2g.palm.com/5856
Reviewed-by: DCO Verification
Reviewed-by: Andrii Zora <andrii.zora@lge.com>
Tested-by: Andrii Zora <andrii.zora@lge.com>
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Merge develop branch into master

:Release Notes:

:Detailed Notes:

:Testing Performed:
unit tests

:QA Notes:

:Issues Addressed:

Open-webOS-DCO-1.0-Signed-off-by: Andrii Zora <andrii.zora@lge.com>

Change-Id: I3b8cdeee5d4cb07fac76f87939f87a8ec8b947a8