Validate input params

:Release Notes:
configurator validates input params like application id and location
and return correct result of validating

:Detailed Notes:
If validation failed, return false with notification, that application
or location is wrong

:Testing Performed:
Build locally, tested on TV

:QA Notes:
Wrong id:
$ luna-send -n 1 palm://com.palm.configurator/scan '{"id":"com.lge.app.chromium1","type":"web","location":"/usr/palm/applications"}'
{"errorCode":-1000,"errorText":"Aplication doesn't exist","returnValue":false}

Wrong location:
$ luna-send -n 1 palm://com.palm.configurator/scan '{"id":"com.lge.app.chromium","type":"web","location":"/usr/palm/applications1"}'
{"errorCode":-1000,"errorText":"Location doesn't exist","returnValue":false}

:Issues Address:
[GF-11669]  configurator/scan - Returns true value for invalid argument

Open-webOS-DCO-1.0-Signed-off-by: Yurii Makogon <yurii.makogon@lge.com>

Change-Id: I5374489a5cc753af4fe74c951387df62f70e2409
Reviewed-on: https://g2g.palm.com/3819
Reviewed-by: Build Verification
Reviewed-by: Yurii Makogon <yurii.makogon@lge.com>
Tested-by: Yurii Makogon <yurii.makogon@lge.com>
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>