[Android] Add test case for getTitle().

This patch is to add test case for getTitle().
Open a url, get the title on ui thread and compare it with the expected
result.
Merge pull request #1934 from wuhengzhi/getTitle_test

[Android] Add test case for getTitle().