merge for wrapper_set + copy of merge for result_wrapper

Here's a prototype of a merger for wrapper_set. It basically loops through the wrappers and calls merge on every one of them.
I also copied the code from accumulator to a result_wrapper, but that might be not a good idea. Please check.