Adding support for DNIe.

This is a Pull request with the same goal as https://github.com/OpenSC/OpenSC/pull/167.
This one has a clean history with just one commit and strictly the changes required for DNIe support.