Add windows support

Added lock_windows.go, using LockFileEx.
Tested with the new locktest binary compiled for windows/386, on Windows Server 2003R2.