[Android] Add test case for clearCache().

This patch is to add test case for clearCache().
Request the url from TestWebServer, record the hit count to
webserver and compare the count with the expected number.
Merge pull request #1952 from wuhengzhi/clearCache_test

[Android] Add test case for clearCache().