Write a WT_CURSOR.compare method for data-source cursors; this requires
access to the collation function -- we now have three places we need to
acquire the collator function, generalize a single function that figures
out if there's a configure collator.