Take more care clearing WT_CURSTD_VALUE_INT, now that we use it internally to decide when to make copies of values.  In particular, clear it when leaving LSM operations that don't return a value, and when entering file operations that don't take a value.
Merge pull request #1297 from wiredtiger/value-copy-fix

Take more care clearing WT_CURSTD_VALUE_INT