Port all examples, most tests, and wtperf to Windows

Added windows_shim to emulate most functions
Merge pull request #1287 from markbenvenuto/windows_test_fixes

Port all examples, most tests, and wtperf to Windows