[Android] Add test cases for clearCache(), clearHistory(), history size ...

...and cookie manager.

This patch is to add test cases about clearCache(), clearHistory(),
history size for XWalkViewInternal and the cookie manager interfaces
for XWalkCookieManager.