[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.
yes, fail() here is to assert "getItemAtOnUiThread(-1);" exception.