Added a common copying method for fields in datasets, added support for using other elements when
constructing complex datasets from compound ones
Recoded errors in dataset to use one serializable field and simplified API
Fixed broken tests: remove stored hashes when copying to different dataset
type and avoid concurrent modifications. Also reset non-contiguous fields
in casting constructors.