[Android] Add test case for onReceivedErrorTest().

This patch is to add test case for onReceivedErrorTest().
Open some urls with error format, the resource client will receive
the related error. Verify the error information with the expected
result.
XWalkSettings is not exposed in Embedding API, this case should be put in internal test.