[Tizen] Move application binary path from .config to  TZ_USER_APP / TZ_SYS_RW_APP

user application binary is now located in TZ_USER_APP instead of /$HOME/.config
global application binary in TZ_SYS_RW_APP instead of /usr/apps/.config

BUG=XWALK-2672

Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Application: Add the check for return value.

The return value of getString() was not being checked.

CID=194038
BUG=XWALK-2928
ApplicationSystem: Initialize |params|.

The local variable was not being initialized in launch_params().

CID=194562
BUG=XWALK-2928
[Tizen] XWalkExtension class refactoring

A type of a field in XWalkExtension class was changed
from base::ListValue to std::vector<std::string>
to avoid unnecessary conversions.
Fix unit tests in id_util_unittest.cc file

This path adds prefix 'xwalk.' at the beginning
of tested application ids for Tizen platform.
Tests fixed:
- IDUtilTest.GenerateID
- IDUtilTest.IsValidApplicationID
[Application] widget_handler: Add the check for return value.

The return value for GetString() was not being checked.

CID=194059
BUG=XWALK-2928
[Tizen] Xwalkctl should list xpk apps as well

This patch fixes listing of installed xpk apps by xwalkctl.

BUG=XWALK-3004
[Application] package: Initialize |manifest_type_|.

The member varibale was not being initialized in the constructor.

CID=194663
BUG=XWALK-2928
[Application] xpk_package: Add the check for fseek()'s return value and initialzie for |zip_addr_|.

The return value for fseek() was not being checked.
The variable "zip_addr_" was not initialzied in the constructor.

CID=194011
CID=194023
CID=194686
BUG=XWALK-2928
[Application] application_widget_storage: Add the check for return value.

The return value for GetString() and GetBoolean() was not being checked
in SaveConfigInfoItem().

CID=194012
CID=194029
BUG=XWALK-2928
[Android] Replace the raw pointer with scoped_ptr.

The raw pointer |ret_val| will lead to memory leak. Define it with
scoped_ptr.

CID=194532
BUG=XWALK-2928
[Extensions] xwalk_extension_client: Add the check for Get() and Map().

The return value of Get() and Map() was not being checked in
OnPostMessageToJS().

CID=194043
CID=194046
BUG=XWALK-2928
[Android] Add the check for GetHeader().

The return value of GetHeader() was not being checked.
If user agent was invalid, assign it with crosswalk user agent.

CID=194058
BUG=XWALK-2928
[Runtime] xwalk_browser_main_parts: Initialize |extension_service_|.

The member variable was not being Initialized in the constructor.

CID=194750
BUG=XWALK-2928
[Runtime] xwalk_runtime_features: Initialize |experimental_features_enabled_| and |enabled|.

The member variable was not being initialized in the constructor.
The variable in the struct was not being initialized.

CID=194645
CID=194651
BUG=XWALK-2928
[Runtime] runtime_download_manager_delegate: Add the check for
CreateDirectory().

The return value of CreateDirectory() was not being checked in
GenerateFilename().

CID=194047
BUG=XWALK-2928
[Tizen] SecurityPolicy classes rename and move

This patch renames:
- SecurityPolicy to ApplicationSecurityPolicy,
- SecurityPolicyCSP to ApplicationSecurityPolicyCSP,
- SecurityPolicyWARP to ApplicationSecurityPolicyWARP,
- common/security_policy.h to browser/application_security_policy.h,
- common/security_policy.cc to browser/application_security_policy.cc.
Merge pull request #2631 from wuhengzhi/xwalk_2928

Fix the coverity issues
Merge pull request #2649 from sstolinski/SecurityPolicy

[Tizen] SecurityPolicy classes rename and move
DEPS.xwalk: Roll ozone-wayland (8f3a1b5 -> 6379cd1).

6379cd1 Move XKB handling to BrowserProcess.
f45c410 DisplayPollThread: Handle EpollCreation calls during construction phase.
5430cf4 Initialize CursorData before Sandbox is enabled.

BUG=XWALK-2789