Make pyflakes test pass for PY3.
gevent/local.py
 * doctest
Fix str/bytes issue.
 * udp_client.py
 * gevent/subprocess.py
Fix range issue.
 * test__order.py
Use only family in getaddrinfo hints when socket.connect
Fixed pywsgi in PY3.
Fixed test__server.py and test__server_pywsgi.py
Fixed test__refcount.py
Fixed test__socket.py
Fixed test__examples
Fixed test__ssl.py
Fix "dictionary changed size during iteration".
Fixed test__fileobject.py
Fixed test__greenio.py
Fix tests for PY3.
Fixed test__pool.py for PY3
Fixes test_queue.py for PY3
Fixed test__os.py for PY3
Fixed test_ares_timeout.py for PY3.