[Android] Refine the test cases to reduce time consumption.

1. Merge Version with Description test.
2. Disable the test cases about invalid char of name for embedded mode.
   Because it isn't necessory, what's more, it's very heavy.
3. Remove the mode test case, which is already covered.
4. Move the test_data preparation to initializaion step of test class, not
   each of test case.
[Android]  Fix the http auth issue due to activity.

Currently, the http authentication dialog activity is
transforming the context to activity, which has side effect
on MixContext for the crosswalk package.  This fix is used to
correct the http authentication dialog activity.

BUG=https://crosswalk-project.org/jira/browse/XWALK-634
Merge pull request #1269 from junmin-zhu/reduce

[Android] Refine the test cases to reduce time consumption.
Merge pull request #1267 from ShDavidliu/http_activity

[Android]  Fix the http auth issue due to activity.
ApplicationService: add a static function for API control

* This method is used to check API Control.It queries permissions
  from DB and tell the result to extension.
[Extensions] Add API for Check API Access Control

This API is for external extension developer. The API need to be called in the
implementation of each exported API in C or C++ code. For C extension
implantation, header file "public/XW_Extension_Permissions.h" should be
included. For each API that need access sensitive data, developer should call
CheckAPIAccessControl for API control. For C++ extension implantation, header
file "xwalk/common/xwalk_external_extension.h" should be included.

The basic flow of API access control is as below:
1. when render process execute a JS API which need access sensitive data
of device, render process send a message to extension process 2. in
extension process API's implemetation, it should call checkAPIAccessControl,
which will call PermissionsDelegate (which is in also extension process).
3. extension process send a message to browser process.
XWalkExtensionProcessHost -> XWalkExtensionProcessHost::Delegate (which
is XWalkExtensionService) -> XWalkExtensionService::Delegate (which is
XWalkBrowserMainParts) ->xwalk::application::ApplicationService::
CheckAPIAccessControl().