ECC key gen: initialize the private key as well.

On some Java Cards, the key generation process will fail if only one key is being initialized.
Do not use APDU.isCommandChainingCLA() of the JC API

Tests have shown that some card's implementations of this method are not in compliance with the API specification. Use a own convienence method to parse the CLA byte for the chaining bit.