async sleep based async io

This is what I was thinking of in terms of making it asynchronous (the code for sleep) in js-mock.   If you like it, you can accept the pull request.