Adding n-of-m threshold scheme to sc-hsm-tool

This patch adds support for an n-of-m threshold scheme to manage the SmartCard-HSM's Device Key Encryption Key.

Using this mechanism the DKEK can be placed under control of m key custodians, from which n are able to reconstruct and import the DKEK.