[api] Add `client.createImage` to DO
[api] Add `client._asyncRequest` to DO client

Add an Event model.
Make `client.shutdownServer` use it.