Preliminary work before manifest `csp` member implementation

This patch re-organizes the existing WARP and CSP code
so that it is accessible not only for Tizen and encapsulated
within SecurityPolicy classes family.
Merge pull request #2046 from pozdnyakov/Recompose_security_policy_code

Preliminary work before manifest `csp` member implementation