implemented generator.getDocumentPixmap
Explain state of document in getDocumentPixmap
documentation and style fixes
correct context binding
Merge pull request #258 from marekhrabe/master

Implemented generator.getDocumentPixmap