Support for JC 2.1.2 and 2.2.1

Added support for Java Card 2.1.2 and 2.2.1.