Open action

Adds ability to do a openAction on PDF open, and preliminary javaScript support.

Example: 
doc.openAction(doc.javaScript("this.print()"))

Will cause the document to print when it is opened.