[Android] Add saveState, restoreState test cases

Disable one test case as there is a blocking issue in
core test framework.
Remove checkThreadSafety() from getXWalkViewContentForTest(),
as it will block the test and there is need to check the thread
safety in this test-assist function.