Merging now also detaches values. Just leveling is left.
Fixed a memory allocation problem.
Leveling now detaches values as well.
Merge branch 'daniel_2073' into daniel_2073_debug

Conflicts:
	src/btree/operations.cc