This adds pem support to public keys which can now be handled the same way as private keys.
pki is a small library to make building some of the crypto stuff easier in go.