improved error handling for DRM protected documents
added gitignore
Merge branch 'drm-error'