Fix tests on Python 2.6.

- logging.StreamHandler doesn't support a named parameter "stream"
- The workaround for errors from setuptools needs to be updated
  to use concurrent.futures instead of multiprocessing since the
  tests were changed to use concurrent.futures.