Enable Aura XWalk build by default

Enabled Aura by default for XWalk Linux and Windows builds, also enabled window frame and window header for XWalk Aura windows on Linux desktop.

The NativeAppWindowViews::CreateNonClientFrameView is now overridden only for Windows in order to make visible Aura window frame&header on Linux desktop (NativeAppWindowViews::CreateNonClientFrameView had been overridden to show OS window decoration instead chrome-style UI, however the used views::NativeFrameView works only on Windows).
[Runtime] Change the runtime database backend to sqlite

Using Sqlite database instead of JSON format database, it will guarantee
data security and data integrity.

The source code is refered to the file sqlite_server_bound_cert_store.cc in
Chromium for the usages of sql::Connection.

The applications information will migrate from JSON DB to the new SQLite
DB automatically.

In Tizen package info installer, change the owner of SQLite DB files to "app" user,
since these files will access by "app" user when launch from home screen.

After bumped to Chromium 31, when compeling the xwalk with this patch, in
application_protocols.cc, there should be an error said: invalid use of
incomplete type ‘struct base::SequencedWorkerPool’, add the header file will
solve this issue.
[Runtime] Clean the JSON format applications database source code

The JSON format DB will not be used anymore, using SQLite DB instead, so
remove those excess code.
[Extensions] Pass XWalkExtensionFunctionInfo as a scoped_ptr

We were previously passing it as a const reference. Now we are giving
the ownership to the recipient. The next patches will be fixing
the thread safety of this class and the limitation that it cannot
outlive the XWalkExtensionInstance.
[Extensions] Make it safe for XWalkExtensionFunctionInfo to outlive XWalkExtensionInstance

XWalkExtensionFunctionInfo will now send the results to the
XWalkExtensionFunctionHandler, which is a weak reference. Checking if
the weak reference is valid only works on the same thread which
the weak reference was created, but this going to be fixed in the
upcoming patch.
[Extensions] Add more XWalkExtensionFunctionHandler unit tests

This new test is ensuring that calling PostResult in a
XWalkExtensionFunctionInfo after the XWalkExtensionInstance is deleted
doesn't have any bad side effect.
[Extensions] Make the PostResult thread safe

It will now re-post the message to the same thread as the XWalkExtensionFunctionHandler
to certify that there is no race condition when checking if the weak reference
is valid.
[Android] Support embedded mode in packaging tool.

Some developers want to package web app with independent
xwalk's runtime library, and don't care the size of it
too much.

Pacakaging tool would copy all the xwalk's runtime library
into target application package, which includes the
.so, .jar, .apk file etc. By default, packaging tool
uses shared mode for web application.

Sample Usage:
python make_apk.py --name=Intel --package=org.xwalk.example
--app-url=http://www.intel.com --mode=embedded

BUG=https://github.com/crosswalk-project/crosswalk/issues/765
Merge pull request #866 from tmpsantos/function_handler

[Extensions] Refactoring of the XWalkExtensionFunctionHandler
Merge pull request #838 from pozdnyakov/Aura_by_default

Enable Aura build by default
Merge pull request #801 from takethathe/sqlite

[Runtime] Change the runtime database backend to sqlite
[Regression] Fix Quota Permission Context regression after rebase.
Merge pull request #883 from jeez/fix-quota

[Regression] Fix Quota Permission Context regression after rebase.
Build fix of Android bot after PR 838

Unfortunately "args.append('-Duse_aura=1')" is not handled properly on Android build: Two files with the same name are put to compilation - browser/ui/android/infobar/confirm_infobar.cc and browser/ui/views/infobars/confirm_infobar.cc.
Initialize params.bounds in NativeAppWindowViews

Initialize params.bounds in NativeAppWindowViews to fix an
issue with the window size on Tizen builds.

Fixes #881.
Merge pull request #885 from nagineni/window_size_fix

Initialize params.bounds in NativeAppWindowViews
Merge pull request #884 from pozdnyakov/Fix_of_Android_build

Build fix of Android bot after PR 838
[Extensions] Add DidCreateModuleSystem hook

Added an interface to be implement by the users of
XWalkExtensionRendererController, with a function that is called
everytime we create a XWalkModuleSystem. This allows the users of
extensions to add their own (native) modules to that module system.

This need was prompted by pull request #612.
[Extensions] Keep the IDL file close to the implementation

Teach the build system to process every file in the source section
ending with .idl. Now the .idl files can stay in the same directory
as the implementation making it more self contained.
[Extensions] Move extensions tests to the new IDL rule

The buildsystem now supports processing of .idl on the source
section, there is no need to include the IDL processor again
for the browser tests.