CMS-2221 Create serializer for serializing (and deserialzing) form items to data
Introduced method valueEquals on Data to make it easy to compare if the data/values of two Data equals.
 Did not change use existing equals method for this, because it have other usage I presume.