add optional parameter to getDocumentInfo to override flags
Merge pull request #81 from adobe-photoshop/jrb/doc-info-params

add optional parameter to getDocumentInfo to override flags