Demand flags

The previous length setting (without flags) was inconsistent with the code
that does require the flags field to be present.
Merge ../idemix_multos
Added support for per attribute PIN protection
Version 0.7.1 release
Merged 0.7.1 from idemix_multos
Crypto refactoring
Added ML3 live certificates for 0.7.1 release
Now with the correct Issuer ID
Finished basic refactoring, still need to do DES and AES
Dropped selection modification check, no longer needed since attribute selection was merged into PROVE_START
Merge branch 'master' of github.com:credentials/idemix_multos
Merge ../idemix_multos
Refactored debug code, split out IRMA types specific code
Finished debug refactoring, small types refactoring
Refactored APDU, SM and CHV