[Android] Add test cases for onReceivedTitle.

This patch is to add test cases for onReceivedTitle().
Test this interface with url and data, verify the title.
[Android] make_apk: Generated android name by package.

Try AppInfo.android_name is currently generated from options.name,
but the restrictions on options.name's value will be lifted in an upcoming commit.
That cannot happen to android_name,
so we now generate it from the package name passed via the --package option.
[Android] make_apk: Accept any string to be application name.

The new w3c manifest spec requires accepting any string to be application name.
However in previous make_apk process, they were treated as invalid input.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2212
Merge pull request #2310 from jinbang/tool_allow_any_string

[Android] Allow any string in manifest name field
Merge pull request #2309 from wuhengzhi/onReceivedTitle_test

[Android] Add test cases for onReceivedTitle.