Fix factory reset

:Release Notes:
Make factory reset workable

:Detailed Notes:
Refactore factory reset logic
Fix recovery script path in configuration files
Add check for recoveryScriptPath property in configuration path
Add check if recovery script exist and executable

:Testing Performed:
Compiled and tested localy.

:QA Notes:

:Issues Addressed:
[BHV-1553] 'Factory reset' doesn't work

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <maxim.sditanov@lge.com>

Change-Id: I05c180ce5cc0c2d74da3c25f2b1a6f90d129cb44
Reviewed-on: https://g2g.palm.com/4846
Reviewed-by: DCO Verification
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>