Fix a race when walking trees for eviction.

Don't switch a page's state to WT_REF_MEM until after we have finished looking
inside its WT_PAGE struct -- another could come in and evict it in between.

refs #682
Merge pull request #682 from wiredtiger/evict-walk-race

wtperf failure: accessing a freed page