Add waitForAppScript to ios caps handler

waitForAppScript logic was added in #4191, but the caps handler doesn't
know about it, so it never gets executed. Analogous to #4249 for
sendKeyStrategy cap.
Merge pull request #4253 from gempesaw/patch-1

Add waitForAppScript to ios caps handler