Bump version to 3.31.39.0
Bump version to 3.32.39.0

This is all-in-one patch based on Chromium 32.0.1700.14, check each
commit at https://github.com/halton/crosswalk/commits/master_1700_14
Merge pull request #1141 from halton/all_in_one_32_0_1700_14

Bump version to 3.32.39.0
[Extension] Adding a Crash Extension and a crash "demo"
[Extension] Gracefully handle an ExtensionProcess crash.

This patch enables us to gracefully handle a crash from
ExtensionProcess. We use XWalkExtensionProcessHost::OnChannelError
since we can't really rely on XWalkExtensionProcessHost::OnProcessCrashed.
See a more complete explanation about this on the end of this commit message.

It is safe to rely on XWalkExtensionProcessHost::OnChannelError
since this function is called just before
BrowserChildProcessHostImpl::OnChildDisconnected gets called.
OnChildDisconnected() would, in turn, be the function that would
call our OnProcessCrashed(). For more information, please refer to
ChildProcessHostImpl::OnChannelError() from child_process_host_impl.cc.

This patch also adds the interface XWalkExtensionProcessHost::Delegate,
which now is implemented by XWalkExtensionService.
XWalkExtensionProcessHost::OnChannelError() calls then
Delegate::OnExtensionProcessDied().

For documentation reasons, I will elaborate on what happens when not
using zygote, which is the case of EP.
GetTerminationStatusImpl() from base/process/kill_posix.cc ends up
calling waitpid() with WNOHANG. If the extension process isn't ready
to reply its termination status by then, we won't block while waiting
for it and that function will return TERMINATION_STATUS_STILL_RUNNING
to BrowserChildProcessHostImpl::OnChildDisconnected(). When that happens,
OnProcessCrashed() ends up never being called. That is not the case
for OnChannelError(), thus we use that as our hook.
Using zygote would put the necessary infra-structure in place,
but it would also bring more than what we currently need.
Merge pull request #1123 from jeez/crash-handling

[Extensions] Handle ExtensionProcess crashes gracefully
[DBus] Add PropertyExporter and DBusManager classes

This commit bootstraps the xwalk/dbus directory with two classes we
intend to use when implementing the '--run-as-service' mode in Linux.

The 'DBusManager' is a convenience class that packages the creation of
the DBus thread and the bus connection. There need to be only one of
those for the whole Crosswalk, so it should be passed around for the
subsystems that need it.

The 'PropertyExporter' class is a partial implementation of a helper
class that exports the 'org.freedesktop.DBus.Properties' interface for a
certain 'dbus::ExportedObject'. It's interface is still incomplete, and
at the moment it will be focused on covering our use cases for
'--run-as-service'. Chromium have a infrastructure for dealing with
properties but only on the client-side, this class adds the server side.

Unit testing infrastructure, as well as basic sanity tests were
added. With these bootstrapped is easy to add new tests later. The new
target 'xwalk_all_tests' was added to include this module in the build
system.
Merge pull request #1142 from cmarcelo/xwalk-dbus

[DBus] Add PropertyExporter and DBusManager classes
[Android] Add back key support

1 The patch is to add the back key support for the runtime. The
expected behavior when putting on the back button is to go back to
the previous page, but now it results to exit the app.
2 Add a new goBack() interface into XWalkRuntimeView to handle this.
3 Hook the onKeyUp() method in all related Activities.

BUG=https://crosswalk-project.org/jira/browse/XWALK-83