Added a convenience method to save X509Credential as a PEM keystore
(issue #44)