Code cleanup via golint.
Add GenerateKeyAndCSR.

GenerateKeyAndCSR generates a new PEM-encoded key and CSR.
Add export to PKIX name for SubjectInfo.