added Data as value type for KeyData with implicit conversions to most primitive type and DateTime, as well as tests (with explicit conversions, as NUnit does not like implicit ones)