moved the matching method into the CommandApduFactory
Changed the CommandApdu to store the header as a byte array instead of
several bytes

-inheriting classes calculate the wanted data directly from the header
in the getter methods
Extracted the CommandApdu functions into an interface
Added tests for the APDU rewrapping
IsoSecureMessagingCommandApdus can be rewrapped into a new APDU while
keeping the header and setting the correct secure messaging bits
fixed command apdus getting changed when rewrapping
-added test for this behaviour