sc_pkcs15_encode_pubkey_as_spki depends on DER encoded RAW key

Make sure the sc_pkcs15_pubkey structure contains the DER endoding
of the RAW public key before trying to produce the SPKI version.
pkcs15init: ignore if no TokenInfo file to update
build: new 'disable-optimization' configure option
pkcs11-tool: format object info output
sc-hsm: emu: initialize EC key params

;fix EC parameters for the emulated public keys
;add 'sc-context' argument in some function prototypes
myeid: support of EC key is broken,

waiting for specification and card from Aventra (VTA)
pkcs15init: do not use 'der-data' of pubkey data
pkcs15init: set EC pubkey key params using init arguments
pkcs15: use 'direct' public key value

pkcs15: in pubkey-info data
 * introduced new 'direct' 'raw' and 'spki' members
 * removed 'encoded der data' member
 * in 'read-public-key' try firstly SPKI direct value

pkcs11:
'direct' data used when getting CKA_VALUE attribute of public key

pkcs15init:
 * initialize 'raw' and 'spki' direct public key value
pkcs15: fix encoding of 'SubjectPublicKeyInfo'
PIV: fix segfault and valgrind issue

prototype of 'get-guid' has been changed;

valgrind issue:
Conditional jump or move depends on uninitialised value(s)
   at 0x5A0159B: vfprintf (vfprintf.c:1629)
   by 0x5AC04BF: __vsnprintf_chk (vsnprintf_chk.c:65)
   by 0x522A665: sc_do_log_va.part.0 (stdio2.h:78)
   by 0x522A819: sc_do_log (log.c:52)
   by 0x529462F: piv_card_ctl (card-piv.c:1794)
   by 0x5232E2F: sc_card_ctl (card.c:772)
   by 0x52E561D: sc_pkcs15emu_piv_init (pkcs15-piv.c:626)
PIV: encode SPKI public key data
pkcs15init:  NULL 'store-key' hahdle

Card driver can not define 'store-key' init handle
Default driver: do not send possibly arbitrary APDU-s to an unknown card.
pkcs15: remove not used internal procedures

sc_pkcs15_copy_pubkey_from_spki_object() not used
pkcs15: change names of internal SPKI procedures

sc_pkcs15_pubkey_from_spki_sequence() takes the ASN1 'subjectPublicKeyInfo' data
sc_pkcs15_pubkey_from_spki_fields() takes the ASN1 'subjectPublicKeyInfo' data without outter SEQUENCE tag
Merge pull request #211 from viktorTarasov/fix-206

Fix #206
Merge pull request #213 from martinpaljak/default-driver

Default driver: do not send possibly arbitrary APDU-s to an unknown card...
pkcs11-tool: check for buffer overflows

Check the subject, issuer and serialNumber will encode in the allocated
space before copying the data.

Thanks to Umberto Rustichelli for the bug report
https://sourceforge.net/p/opensc/mailman/message/32210626/
Fix memory leak, sc_pkcs15_cert_t *cert is never freed