Don't reset the WT_REF state until after the in-memory page has been
discarded, we could race with another reader (it's very, very unlikely,
but possible).
Fix a comment.
Fix Compile
Merge pull request #1326 from markbenvenuto/win_build

Fix Windows Compile