add stricter checks for command chaining
Use constants for EC field length and fix 521 bit curves
decipher: use convenience method for chaining
if the applet expects the host to send a GET RESPONSE, no other instruction is allowed.
updated comments of importECkey()
write large EC public keys correctly