PDF security new method

We added a method to PDF security.

IsEncrypted(String file)

 This function will return 1 on an encrypted PDF, 0 on an unencrypted one. It will return negative  if there is any error.