Begin implementing Windows support
o Move nonblocking_command out of misc, and into the test suite using
  it; if the underlying platform lacks fcntl (to set os.O_NONBLOCK)
  then we'll just need to skip some tests.