Adding support for DNIe.
Merge pull request #168 from germanblanco/opendnie

Adding support for DNIe.
Fix integration problem with DNIe

card-dnie.c:1481:2: error: too few arguments to function `sc_pkcs1_strip_01_padding'

The prototype of sc_pkcs1_strip_01_padding() changed between the patch
submission and its integration.
Reset return code to success if pubkey read from cert.
removed unused reference to sm_iasecc_rsa_generate
don't expect the card to specify the file length in generic tools

if sc_file_t.size == 0 we try to read 1024 bytes by default.
verifying the pin is a valid action
Use reader pin pad if available and allowed
Set output buffer len variable if padding removed.
added getpass implementation for non windows

modifies terminal attributes to emulate _getch
don't require ushort to be present
fixed initialization of structure
Extract public key from cert if no object on card
fixed errors reported by cppcheck: part 1

partially applied the pull request #182 from Frank Morgner -- updated the common frameworks source files
fix LGPL version

https://github.com/OpenSC/OpenSC/commit/f5814595dbd6071f39c7fe099e62c0e7bfd8f510#commitcomment-3971686
Add documentation for --list-token-slots, -T
Add EstEID 3.5 card support

EstEID card has new cold ATR and AID
sc-hsm: Fixed memory checking and removed warning
sc-hsm: Removed compiler warning