pkcs15: fix for the application selection.

Original problem and possible patch from

http://www.opensc-project.org/pipermail/opensc-devel/2011-June/016910.html
Merge branch 'fineid' into proposed
possible typo in pkcs15-init.c:get_pin()
import work so far into github
can create and verify one pin
get ready to support 4 pins
acos5 changes to support 5016 appdir
support installing into a new appdir

if you break /3f00/5015 during development, then edit your CARD.profile
and change 5015 to 5016 (or 5017...) and do pkcs15-init --create-pkcs15 again
key
wip
--test flag
wip
don't refuse to cat internal files in explorer
store key; some erase card support
erase card
erase_card
improve erase card
store key exponent and file ids
success with sc_set_security_env
more key experiments