sm: move SM common crypto procedures to the dedicated library

rename 'sm' source directory
opensc-tool: add 'call-SM-handler' command

'open' and 'close' handlers of the card's SM driver can be called