copied helper files from PCSC-Lite
don't install libvpcd when libpcsclite is requested

libpcsclite now statically links against libvpcd. This also is fully
compatible with OpenSC now, which uses dlopen/LoadLibrary for the PC/SC
provider.
avoid error: variable modified at file scope
read/write chunks in short length SM APDUs
defined missing symbols from pcsclite.h
updated OpenSC

include SM bugfixes from OpenSC master