Add support for .PEM public keys, with tests and docs

Added the ability to load and perform functions with RSA and DSA public
keys when the files contain public keys only. Also added test functions
and OpenSSL-generated files to test the new code, which all pass on
Windows 7.
This looks like it is still some weird rebase/merge detritus? These lines are from code that landed in another PR.