[Android] Allow concurrent builds using make_apk.py

 - Set temp directory to a random value using tempfile.mkdtemp that enables
   multiple simultaneous builds to happen on the same system
 - Fixed icon_dict being "None" when manifest file passed in without any path

 Bug=XWALK-2650
 Bug=XWALK-2664
[Android] Add NFC to permission mapping table.

By this, user can use make_apk.py to package their application
with NFC extension with correct permission, for example:
$ python make_apk.py --name=apkname --package=org.xwalk.example
  --permissions=nfc --extensions=...

BUG=XWALK-2728
[Tizen] Remove crosswalk manifest entry for not existing xwalk binary

BUG=XWALK-2740
[Tizen] Add negative debugging port number handling

BUG=XWALK-2708
Move Chromium 39.0.2171.19, the first M39 beta.

Most of the commits were just gardening ones to adapt to file location
and API changes in Chromium.

Additional changes worth noting:

* SIMD.js support is temporarily disabled as we always do when switching
  to a new Chromium milestone. XWALK-2734 is tracking this.

* NaCl support had to be disabled for Tizen 32-bit builds because Google
  does not ship a 32-bit NaCl toolchain anymore. XWALK-2679 is tracking
  this.

* We're now tracking Ozone-Wayland's Milestone-Autumn branch.

* Java 7 is now required to build Crosswalk for Android, following the
  requirements from Chromium itself.

* On Tizen, we don't set enable_ozone_wayland_vkb and enable_xdg_shell
  anymore. Since ozone-wayland commit aeb6a5f7 they do not have any
  effect, and one is expected to define whether those features are
  enabled or not with environment variables. We were already setting
  OZONE_WAYLAND_USE_XDG_SHELL in the systemd service file; we now set
  USE_OZONE_WAYLAND_VKB as well.
Merge pull request #2508 from rakuco/all-hail-m39

Move Chromium 39.0.2171.19, the first M39 beta.
[Android] Fixed that long press on text will crash in shared mode

The ActionMode will use Activity to inflate layout, which in
shared mode, it will fail due to incorret context to search
for resources.

Introduce XWalkActivity for Embedders who want to use Shared
mode to inherit for the Activity will contain SharedXWalkView.

Besides, some layout ids exist in both app and library context.
Add detection of whether the stack trace is from library or
app to try use the correct resource first.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2712
Merge pull request #2509 from tweglarski/XWALK-2740

[Tizen] Remove crosswalk manifest entry for not existing xwalk binary
Merge pull request #2505 from aszafranek/XWALK-2708

[Tizen] Add negative debugging port number handling
Merge pull request #2511 from wang16/action_mode

[Android] Fixed that long press on text will crash in shared mode
Merge pull request #2507 from wuhengzhi/add_nfc_permission

[Android] Add NFC to permission mapping table.
Bump version to 10.39.226.0
[Android] Generate resource maps for internal packages

The resource maps are removed from upstream commit 866abeb.
Crosswalk need these resources entries to resolve the
conflict of how Resource Ids generated between gyp build
system and ant build system.
Generate resource maps from generated R.javas by crosswalk
self now.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2746
Merge pull request #2514 from lincsoon/master

[Android] Fix the accessibility problem of reflection helper
Merge pull request #2513 from wang16/no_resource_map

[Android] Generate resource maps for internal packages
Bump version to 10.39.227.0
DEPS.xwalk: Roll chromium-crosswalk (4e78cd0 -> 88fc58a).

88fc58a Merge pull request #198 from rakuco/backport-testwebserver-commits
4adebb3 [Backport] Allow forcing TestWebServer to use a specific port number.
0622b0f [Backport] Start server thread in new TestWebServer.start() method rather than constructor

This roll requires changing several Android tests because
TestWebServer's API in Chromium has changed (we would need to do this
anyway when moving to M40). The changes are pretty much the same ones
that were done in Chromium commit c28e68d ("Start server thread in new
TestWebServer.start() method rather than constructor").

BUG=XWALK-2755
[Android] Hardcode the port number the CORS tests use.

In M39, TestWebServer chose a random open port to listen in, but for our
CORS+XHR tests we need it to be listening in a specific port that we
then fetch via XHR.

This fixes org.xwalk.runtime.client.test.CrossOriginXhrTest and
org.xwalk.runtime.client.embedded.test.CrossOriginXhrTest.

BUG=XWALK-2755
Merge pull request #2519 from rakuco/fix-cors-xhr-tests

[Android] Fix failing Cross-Origin XHR tests.
[Tizen] Remove unused variable.

Removed code was no longer used since removing xwalk-pkg-helper in commit 880057e.