Implemented generator.getDocumentPixmap

My attempt to solve export of document as one pixmap.

Minimal usage example (and test code) is here: https://github.com/marekhrabe/document-export. The example, immediately after initialization, gets `activeDocument.id` and calls `getDocumentPixmap` with that id and blank settings. It generates `document-pixmap.png` to current path.

Now it's on you to do the review :) 
Final complaint: should read
```
@return {Array.<number>} Indices of hidden layers
```
Note above both the corrected type annotation and the "indicies/indices" typo.