Add embedder::AsyncWait()

This allows embedders to wait on a handle without
having any extra thread.

R=viettrungluu@chromium.org
TEST=EmbedderTest.AsyncWait
BUG=436189

Review URL: https://codereview.chromium.org/798993003