Fix a memory leak, free the allocated WT_REF structure.
Clean up WT_REF discard, do the work in one function instead of spreading
it out.
Fix the linkage of the new, in-memory page to the WT_REF structure.
Merge branch 'new-split' into new-split-move-parent-reference

Conflicts:
	src/btree/bt_discard.c