Add AzeDIT 3.5 card support

AzeDIT cards are similar to EstEID 3.5 cards but have their own
cold ATR and AID
iso7816: allow extended length APDUs
openpgp-tool: Return EXIT_SUCCESS if no error occurs

exit_status is either set directly or a function return is ORed with it,
in which case EXIT_SUCCESS can never be returned if the initial value is !=
0;
iso7816: propagate the length of the computed signature
changed sc_apdu_t.data back to const unsigned char *
fixed type of pkcs15init_initialize

regression from 95b6b4cc
Merge pull request #312 from frankmorgner/fix-p15

fixed type of pkcs15init_initialize
Merge pull request #311 from frankmorgner/const-data

changed sc_apdu_t.data back to const unsigned char *
Merge pull request #260 from frankmorgner/iso-ext

iso7816: allow extended length APDUs
Merge pull request #195 from rainermetsvahi/master

Add AzeDIT 3.5 card support
Merge pull request #276 from asmw/fix_return

openpgp-tool: Return EXIT_SUCCESS if no error occurs
CardOS 5 driver for OpenSC

This change builds upon existing CardOS 4 code to implement a CardOS
5 driver for OpenSC. CardOS 4 and 5 differ substantially. CardOS 5
supports on-card generation and storage of RSA keys up to 4096 bits
in modulus, and ECC up to 512 bits.

With a lot of feedback and guidance from szikora@.
Support large (> 2048-bit) keys.
Add onepin bits to CardOS 4's profile.

When the onepin profile is activated, the ACL of the DF needs to be
adjusted from SOPIN to PIN.
Add brainpoolP512r1.
Set key_info->params.len for SC_ALGORITHM_EC as well.