drop useless lock and fix util.hpp in tests

:Release Notes:
Drop useless global lock in LSCategorySetData and
LSCategorySetDescription potentially increasing performance.

:Detailed Notes:
- drop _LSGlobalLock from LSHandleGetCategory
- fix invalid object type in JRef ctor

:Testing Performed:
unit and integration tests on desktop

:QA Notes:

:Issues Addressed:
[BHV-1589] Implement category registration with its description

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

Change-Id: I0a45b9e45ca0cb795cb7f99325bf441c2d7d732d
Reviewed-on: https://g2g.palm.com/5358
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>