[Android] Add test case for size(), hasItemAt() and getItemAt().

This patch is to add test case for size(), hasItemAt() and getItemAt().
Load url and get history size, get item at specified index, compare them with the expected result.
Judge whether has item at specified index.
Merge pull request #2051 from jinbang/test_api_XwalkNavigationHistory

[Android] Add test case for size(), hasItemAt() and getItemAt().