Add gettimeofday for win32

Change-Id: Icfe23f5ebad281f8cca82a156515bc4f560e1508
Reviewed-on: http://review.couchbase.org/31624
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>