merge for wrapper_set + copy of merge for result_wrapper
Merging in Andrey's changes.
Test for merging of measurements introduced by commit #eabe372f9d.

The merging of results is rolled back (results are not mergeable by design).