parse_xpk: Define HandleError() and its constants before using them.

The existing code to warn the user if the Python crypto modules were not
installed was simply not working, as HandleError() and
EXIT_CODE_CRYPTO_NOT_FOUND need to be defined before the former is called.
[Android] Fix the incorrect context usage for HttpAuthDataBase.

The database file should be in the app's data directory. However,
if using the context of runtime lib package, Android doesn't allow
to create it. Fix it by using the application context which is for
the runtime client side.

BUG=#1002
[Android] Disable flaky tests in xwalk_core_test

The responsiveness tests seem to be failed randomly on buildbot. It might be
caused by the unstable status on testing phone since this test relies on a
timeout to wait for unresponsiveness in 40 seconds. However, there is no way
to ensure it would happen in 40 seconds so that the test can be passed. Locally,
there 2 tests can be passed.
[Extensions] Add a test that another extension depends on another

In this test an extension ("another") depends on two other extensions ("outer"
and "outer.inner"), by using objects that are provided by those extensions.
Revert "[Extensions] Make RP synchronously ask for the extension channel handle"

This reverts commit fa7ae854e765bc01371162a1d51d17ee720dc12d.
It breaks page rendering for Android port.
Merge pull request #1008 from hmin/disable-flaky-test

[Android] Disable flaky tests in xwalk_core_test
Merge pull request #1005 from yongsheng/1002

[Android] Fix the incorrect context usage for HttpAuthDataBase.
Merge pull request #1016 from yongsheng/revert1010

Revert "[Extensions] Make RP synchronously ask for the extension channel...
[Mac] Don't use Aura for Mac

Aura is not ready for Mac currently. It has not been enabled for Mac in upstream.
Thus, it fails even during 'gclient sync' due to some duplicate keys in resource files.

More details:

https://crosswalk-project.org/jira/browse/XWALK-85
Revert "[Android] Hotfix in Presentation API extension"

This reverts commit 29dff090299604bdd486ebc16accc9f88fed5421.
Revert "[WiDi API] First commit for Presentation API implementation on Android"

This reverts commit db2f123101fdab8eb1699783ef9f73dd22b683f6.
It breaks the unit tests of Android on buildbot. #1011 is for
it.
Merge pull request #1019 from yongsheng/revert577

Revert577
[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 #1018 from poussa/mac-gclient-sync

[Mac] Don't use Aura for Mac
Merge pull request #994 from rakuco/py-use-before-definition

parse_xpk: Define HandleError() and its constants before using them.
[Android] Fix ExtensionBroadcast test

With load on demand enabled (the default now) instances are only created when
needed. This test is failing because it assumes that a new Extension instance
is created for the iframe, and as the code running in the iframe doesn't need
the any instances they are not created.

This fixes substitutes the assumption that the instance will be created, when
the context is created by explicitly calling the extension.

With this assumption fixed, the test can be enabled back.

BUG=#984
[Extensions] Pass to RP whether we use or not use extension process
Merge pull request #1024 from cmarcelo/let-rp-know-whether-ep-is-enabled

[Extensions] Pass to RP whether we use or not use extension process
[Extensions] Register external extensions when EP is disabled

Fix the bug of external extensions not working when
--disable-external-process flag was passed. This is the default behavior
for Android. The problem was that we were sending the extensions to RP
before adding the external ones.
Merge pull request #993 from vcgomes/nested-load-on-demand-test

[Extensions] Add a test that another extension depends on another