select.select and related socket.connect_ex fixes

Fixed child socket handling such that if the parent socket is
blocking, the child socket will now immediately complete its setup.

Fixed socket.connect_ex so that it depends on the underlying connect
future, as well as catching any socket.error exceptions and returning
the corresponding errno. This change enables test_select_new.

Fixes http://bugs.jython.org/issue2242