Added modal dual FGS
moved errormodellibrary to error_models. This is the V1 version of teh
state machines from the TR.
Converted the first to EMV2.