Resolve referred schemas right after parsing

:Release Notes:
Perform resolving references process right after the schema parsing

:Detailed Notes:
change the API
change unit tests

:Testing Performed:
Unit tests

:QA Notes:

:Issues Addressed:
[BHV-1564] Resolve referred schemas right after parsing

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

Change-Id: Id9012b319af14deb10819b8fb9435dc48841410e
Reviewed-on: https://g2g.palm.com/5426
Reviewed-by: DCO Verification
Reviewed-by: Sergiy Kryvonos <sergiy.kryvonos@lge.com>
Reviewed-by: Andrii Zora <andrii.zora@lge.com>
Tested-by: Andrii Zora <andrii.zora@lge.com>
Reviewed-by: Nikolay Orliuk <nikolay.orliuk@lge.com>