Added error behavior state machines into ErrorLibrary.
Also added proeprties to allow parameterization of transition branches.