[Android] Package xwalk.apk as resource in xwalk_core_library

This is step 2 of getting rid of assets in xwalk_core_library.
To use paks as res/raw, the idea is to generate an xml in res/values
when creating xwalk_core_library, the xml contains a string-array
to describe all the paks will be put in res/raw.
XWalkViewDelegate will try to load the xml first, and intercept
ResourceExtractor if the resource to extract is on the list.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1085
[SysApps] Fixed halfclose handling on RawSockets

Set the readyStatus accordingly and remove the event that
doesn't exist anymore.
[SysApps] Fixed TCPSocket attribute defaults
[SysApps] Update halfclose() handling to match the spec
[SysApps][Android] Handle security exception in Android messaging API.

Add try-catch block to handle sending SMS message exception.
Merge pull request #1689 from tmpsantos/tcpsocket_nits

[SysApps] Fixes small nits on the TCPSocket API
Merge pull request #1687 from shawngao5/XWALK-822

[SysApps][Android] Handle security exception in Android messaging API.
Merge pull request #1675 from wang16/pak_res_raw

[Android] Package xwalk.apk as resource in xwalk_core_library
[Runtime] Add manifest handler for widget packaged applications.

The CL parses manifest keys required by JavaScript widget interface,
and save mapped key value pairs in ManifestData, so that it can be read
by widget extension.

We can also extend this CL to validate the widget configuration keys in
future.
[Tizen][Runtime] Implement Widget API.

This commit supports Widget API on Tizen(exclude 'preferences' attribute).
The API provides application programming interfaces that enables ability
to access some of the metadata declared in a widget's configuration
document, such as 'name', 'author', 'description'.

Spec:
http://www.w3.org/TR/widgets-apis/#the-widget-interface

The 'preferences' attribute implementation will be provided later.