Change SandboxApi to have an emitter
Change sandboxer.js to perform api requests as soon as handlers make them (instead of processing them after calling the handler)
Add JsSandbox test for sandboxer.js's handling of delayed api requests
Merge branch 'feature/issue-722-change-sandboxer-js-to-work-with-async-command-handlers-better' into develop