Add js/xfa detection to the cpp interface
I've been using poppler for a project for a couple years. Thanks for all the work, I know its probably mostly thankless.
I'm using the cpp library but need to know if the document contains JS or XFA forms. So I've made a patch that seems to work. It would be great if it could be upstreamed.