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 :) 
We prefer a single variable declaration per line.