Now working on v0.10.28
test: fix EPIPE race in spawn_closed_process_io

The just created stdin should not be closed by a child process before
writing to it, otherwise EPIPE happens.
windows: fix handling closed socket while poll handle is closing

fixes #1278

(backport from master for v0.10 branch)
unix: return system error on EAI_SYSTEM
unix: fix bogus structure field name
darwin: invoke `mach_timebase_info` only once

According to @aktau, the call to `mach_timebase_info` costs 90% of the
total execution time of `uv_hrtime()`. The result of the call is static
on all existing platforms, so there is no need in invoking it multiple
times.

Signed-off-by: Fedor Indutny <fedor@indutny.com>
2014.07.32, Version 0.10.28 (Stable)

Changes since version 0.10.27:

* windows: fix handling closed socket while poll handle is closing (Saúl
  Ibarra Corretgé)

* unix: return system error on EAI_SYSTEM (Saúl Ibarra Corretgé)

* unix: fix bogus structure field name (Saúl Ibarra Corretgé)

* darwin: invoke `mach_timebase_info` only once (Fedor Indutny)
Now working on v0.10.29
darwin: allocate enough space for select() hack

`fd_set`s are way too small for `select()` hack when stream's fd is
bigger than 1023. Make `fd_set`s a part of `uv__stream_select_t`
structure.

fix #1461

Conflicts:
	src/unix/stream.c
linux: try epoll_pwait if epoll_wait is missing

It seems that epoll_wait is implemented in glibc in terms of epoll_pwait and
new architectures (like arm64) do not implement the epoll_wait syscall at all.
So if epoll_wait errors with ENOSYS, just call epoll_pwait.

This is a backport of 861de3d71d40bdd22712f0079cd38f41be75010d for v0.10
branch.
windows: map ERROR_INVALID_DRIVE to UV_ENOENT

Backport c44f264641bd60bdc53b6e3f2e56d82ba43011d8 for v0.10 branch.
2014.10.21, Version 0.10.29 (Stable)

Changes since version 0.10.28:

* darwin: allocate enough space for select() hack (Fedor Indutny)

* linux: try epoll_pwait if epoll_wait is missing (Michael Hudson-Doyle)

* windows: map ERROR_INVALID_DRIVE to UV_ENOENT (Saúl Ibarra Corretgé)
Merge tag 'v0.10.29'

2014.10.21, Version 0.10.29 (Stable)

Changes since version 0.10.28:

* darwin: allocate enough space for select() hack (Fedor Indutny)

* linux: try epoll_pwait if epoll_wait is missing (Michael Hudson-Doyle)

* windows: map ERROR_INVALID_DRIVE to UV_ENOENT (Saúl Ibarra Corretgé)