Make VR screen tap tests more stable

The single tap sent during the VR screen tap tests wasn't always
getting registered since device response can be a bit slow during
the VR transition. For the Cardboard case, wait on Javascript to say
it received another click event. For the Daydream case, wait on VrShell
saying its parent has consumed the event before checking.
BUG=

Review-Url: https://codereview.chromium.org/2768583002
Cr-Original-Commit-Position: refs/heads/master@{#460452}
Committed: https://chromium.googlesource.com/chromium/src/+/3e2ce51e88f19f0cc5196284f580583ddd4dbd9a
Review-Url: https://codereview.chromium.org/2768583002
Cr-Commit-Position: refs/heads/master@{#460623}
8 files changed