Extract public key from cert if no object on card

This patch improves the implementation of the pkcs15 emulation for PIV tokens when those tokens are not initialized with OpenSC tools.  Specifically, it address the situation where the token does not have separate object containing the public key that corresponds to the certificate and private key objects.  Instead, it will extract the public key from the certificate.