Coding style fix in package related source files

(cherry picked from commit 4cad5b3b584789b42727620c868c8ca395234c21)
Application: Add the check for return value.

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

CID=194038
BUG=XWALK-2928

(cherry picked from commit 6051fa21482ae87cbf0b02771ba40d4533c5bdd1)
ApplicationSystem: Initialize |params|.

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

CID=194562
BUG=XWALK-2928

(cherry picked from commit 9cd92929fe9632d489783a98d6f597f39a257718)
[Application] widget_handler: Add the check for return value.

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

CID=194059
BUG=XWALK-2928

(cherry picked from commit 2a5cef49424b4107a96a3c7c7551bd5d143a8542)
[Application] package: Initialize |manifest_type_|.

The member varibale was not being initialized in the constructor.

CID=194663
BUG=XWALK-2928

(cherry picked from commit f8cda1bc056a87d4ab00162d005294ee18453212)
[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

(cherry picked from commit f447f34524753d8d3eab8d990ffdc1a48709ca19)
[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

(cherry picked from commit 8a6bce20e84b84df9e1aa27eb610f16c6f4f1cc5)
[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

(cherry picked from commit d8808acf505928122a026cea505af102c8ebc87b)
[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

(cherry picked from commit 0bb88c3ceb9f84941aacab72d8312092c245e16a)
[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

(cherry picked from commit 38030c4e31619d3293c5334d2f48e7444383a913)

Conflicts:
	runtime/browser/runtime_resource_dispatcher_host_delegate_android.cc
[Runtime] xwalk_browser_main_parts: Initialize |extension_service_|.

The member variable was not being Initialized in the constructor.

CID=194750
BUG=XWALK-2928

(cherry picked from commit ef1675e3d1f00f646769fd074fc9e71e3190921f)
[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

(cherry picked from commit 62c5068fc1355fe04d20ec7e07cc519c5c161cff)
[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

(cherry picked from commit ddb0e68cb304d2ab0696758bfeb8b2cb4d263e5c)
Merge pull request #2653 from rakuco/cr9-backport-coverity-fixes

Backport the Coverity fixes from Crosswalk 11.