[Android] Fix asyn problem about comparing title in core shell tests

Instrumentation tests may fail because the titles may be verified
before they are changed. This commit introduced a new interface named
"loadAssetFileAndWaitForTitle" to wait until the title be changed.
It partly fixed #984 issue in github.

BUG=#984