Fix compiler warnings

:Release Notes:
Fix compiler warnings and errors from m14tv

:Detailed Notes:

:Testing Performed:
Build succeeded

:QA Notes:

:Issues Addressed:
[BHV-1252] Add 2-step ls2 bus registration APIs

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

Change-Id: Ifcd51f1585ab610f081163e6d3bb25c8fdab0dce
Reviewed-on: https://g2g.palm.com/5432
Reviewed-by: DCO Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Andrii Zora <andrii.zora@lge.com>
Reviewed-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Reviewed-by: Alexandr Smoktal <alexandr.smoktal@lge.com>
Reviewed-by: Oleksii Rudenko <oleksii.rudenko@lge.com>
Reviewed-by: Sergiy Kryvonos <sergiy.kryvonos@lge.com>
Implement category registration notification

:Release Notes:
This reverts commit bcb29aa1933cff4f373ecbd9d3338a85d17b79e0.

:Detailed Notes:

:Testing Performed:
make test, smoke test on TV

:QA Notes:

:Issues Addressed:
[BHV-1252] Add 2-step ls2 bus registration APIs

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

Change-Id: Icec65adca460c9756b34b9be821ebe3a3833ba87
Reviewed-on: https://g2g.palm.com/5431
Reviewed-by: DCO Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Fix bugs on in vivo

:Release Notes:
Constant reboot if category == NULL

:Detailed Notes:

:Testing Performed:
Smoke test on TV

:QA Notes:

:Issues Addressed:
[BHV-1252] Add 2-step ls2 bus registration APIs

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

Change-Id: I6f8865ad7889088bda4c322f10e6b17977b508e7
Reviewed-on: https://g2g.palm.com/5435
Reviewed-by: DCO Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Merge branch 'bhv-1252-category' into master

:Release Notes:

:Detailed Notes:
Conflicts:
	src/libluna-service2++/test/CMakeLists.txt

:Testing Performed:
unit/integration tests under desktop build

:QA Notes:

:Issues Addressed:
[BHV-1252] Add 2-step ls2 bus registration APIs

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

Change-Id: I60625136141bf5e01a353baa7dc905d5e8d59ddd