Use the document ID when requesting document information or pixmaps

Similarly, don't assume that events necessarily relate to the current document

Requires adobe-photoshop/generator#52
Fixes #60