[Mac] Fix the build

[chromium-style] virtual methods with non-empty bodies shouldn't be declared inline.
[chromium-style] Complex constructor has an inlined body.
[chromium-style] Complex class/struct needs an explicit out-of-line destructor.
[chromium-style] virtual methods with non-empty bodies shouldn't be declared inline.

http://www.chromium.org/developers/coding-style/chromium-style-checker-errors
Merge pull request #1022 from poussa/mac-compile-8

[Mac] Fix the build
[Android] Remove duplicated asset files for Android tests.

There are 3 instrumentation tests for different purposes. They use
some common files. However, currently these files are copied in
many places. This fix is to share all of these asset files in a
shared folder: test/android/data. If a test APK needs them, copy
them in the generated output folder.

This is the first step: share asset files. Next step is to share
Java code.

BUG=https://crosswalk-project.org/jira/browse/XWALK-95
Revert "[Tizen] add the 'gst-plugins-atomisp-devel' buildrequires to spec."

This reverts commit cd8ac2dbb7fa164cf20118bdcbfdc011e81602a8.

The original commit breaks xwalk-tizen build since currently its dependency
upon 'gst-plugins-atomisp-devel' package can't be fulfiled by tizen.org repo.
Merge pull request #1031 from jchen10/camera

Revert "[Tizen] add the 'gst-plugins-atomisp-devel' buildrequires to spe...
Merge pull request #1020 from yongsheng/refactortest

[Android] Remove duplicated asset files for Android tests.
[Extensions] Make CreateJSModuleFromResource public

This function is going to be used by SysApps to register the
common JS API.
[Extensions] Add support for persistent callback listener

This is going to be the base of the EventTarget implementation. It is
important to remove the listener at some point otherwise the object will
leak.
[SysApps] Add the convenience classes and prototypes

These C++ classes and JavaScript prototypes are helpers for the common
places that appear all around the SysApps APIs specifications.

The main features are:

- Helpers for creating objects managed by the extension.
- Easy way of declaring API methods.
- EventTarget implementation, and thus, helpers for dealing with
  events.

For more information, check the documentation on the code.
[SysApps] Make the common API availiable as a module

Make it available to be accessed via requireModule(). It is going
to be used by the SysApps APIs like Raw Socket.
[SysApps] Add unit tests for the convinience classes
[SysApps] Add browser tests for the common JavaScript API

These tests are testing the functionality of the helper JavaScript
prototypes and objects, like the EventTarget.
[SysApps] Add Raw Sockets stub

Just the skeleton to serve as base for the interfaces implementation. No API is
currently exposed.
[SysApps] Add the TCPSocket implementation

This is the initial implementation of the W3C's Raw Sockets TCPSocket interface.
It is not complete but is fully functional. Some issues with the spec are being
worked with the standardization body, like the fact that the send() method is
technically sync (although we implement as async always returning true).

A notable missing feature is the throwing of exceptions on invalid parameters,
but the error callback is still called under these circumstances.

We also add the RawSocketObject class. This class is going to concentrate all
the shared code among the different interfaces of the Raw Socket API. Currently only
the ReadyState is shared.
[SysApps] Make it possible to create a TCPSocket from a connected socket

The TCPServerSocket will need to create a TCPSocket from incoming connections.
This patch makes it possible to create an object in the native side first and
handle the identifier to the JavaScript context.
[SysApps] Add TCPServerSocket implementation

Added an incomplete but functional implementation of the
Raw Sockets TCPServerSocket interface.
[SysApps] Add browser tests for the Raw Socket JavaScript API

Tests if the objects are leaky and if the basic functionality like
send and receive data works. These tests are not API conformance tests.