Implementation of card_ctl function with SC_CARDCTL_GET_SERIALNR

Implementation of card_ctl function with SC_CARDCTL_GET_SERIALNR
Also, some cards do not return FCI/FCP templates that include the file size. It would be safer to simply select the file, read it's content and check the content length to be 16