Move setTimeout from inside javascript driver to kernel/model.js

This is an intermediate step toward getting the kernel to recognize when an asynchronous call has been made in execute, and it needs to wait until that call completes.
refs #2417