Remove libltdl: Remove ltld references

http://www.opensc-project.org/pipermail/opensc-devel/2011-December/017490.html
cherry-picked from 'libtool' branch of Alon Barlev's github project git://github.com/alonbl/OpenSC.git
and rebased

Remove libltdl: Remove ltld references
(cherry picked from commit a350326c520c5b0cb185f90946648633f4d0e456)

Remove libltdl: Detect libdl
(cherry picked from commit 51e7de45c11823460e776492dcbd40e60583a7eb)

Remove libltdl: Use libscdl
(cherry picked from commit 09f3eadb8a1a47407c011dcd3d5ce461516f3b87)

Remove libltdl: Cleanup libscdl
(cherry picked from commit 52d5f1be01146079e3a6fad1c88ebb0f577d0a94)

Remove libltdl: Cleanup libscdl usage at Microsoft VC build

Untested, I don't have the environment, Martin, please test.
(cherry picked from commit 7fb18f8d0b0bae6d181981a0c71190440e917c2c)

Change-Id: I73c98ccb9365584b12f4b0b97b69316a190b6e45
Merge remote branch 'upstream/staging' into staging
pkcd15init: remove trailing whitespaces

inspired by
http://www.opensc-project.org/pipermail/opensc-devel/2012-March/017883.html

Change-Id: I817f903e67965942d9cc0c30931dbaea0c5f736e
remove trailing whitespaces

inspired by
http://www.opensc-project.org/pipermail/opensc-devel/2012-March/017883.html

Change-Id: If170e830d8d9587a31742feffb6fff54cfdf75b4
pkcs15: throw an error when trying to read from DF

Change-Id: Ifac6777436f889393e3d3981d98a78149fd6cb17
opensc-explorer: `find [<start fid> [<end fid>]]`
opensc-explorer: implemented `pace`
iso driver: select with p2=0x0c when le is missing
pkcs15: throw an error if there is no valid public key data

Thanks to Nguyen Hong Quan.
http://www.opensc-project.org/pipermail/opensc-devel/2012-May/017997.html

Change-Id: I48bc6664909ca324ef71a2a10d9fddb9096ae598
pkcs11: use short form of log messages

Change-Id: Ice298552238da9eeb0b646fc1ddfaf4d7a8ee4bb
Merge pull request #32 from frankmorgner/4d9ea43ab24a2e36fc36d1be81b3414cc003786f

new commands for opensc-explorer and bugfix for iso7816 driver

-  opensc-explorer: new find command:
   tested; nice, useful feature.
- opensc-explorer: pace:
   no means to test -- accepted.
- iso driver:
  really bug, thanks.
cherry-picked from Frank Morgner OpenSC.git and rebased

opensc-explorer: documented `find`
opensc-explorer: documented `pace`
OpenPGP: do not hardcode key sizes to 1024 but fetch actual values from the card.

OpenPGP 2.0 (especially CryptoStick v1.2) supports key sizes up to 4096
OpenPGP: use actual references in PKCS#15 emulation code for PIN codes. Only v1.1 has 3 PIN codes.
OpenPGP: more support for CryptoStick/OpenPGP v2.0

Using CryptoStick v1.2 with 4096bit keys now allows to authenticate to SSH  with all three keys.
OpenPGP: add the v1.0 spec URL as well to source code comments.

Even though it is obsolete, it makes it more complete;)
OpenPGP: make logic more data driven

Instead of doing lots of special-cases in code, create data structures
decide once which variant of the data to use, and then use it.
OpenPGP: slight cleanup

Use typedef'd types instead of their underlying structs,
use helper functions instead of reinventing the wheel,
and fix typos.
OpenPGP: more data driven logic

Tie together in a struct what belongs together instead of relying
on the ordering of multiple unrelated arrays.
OpenPGP: only add keys with legal algorithm identifier