sometimes sys.stderr may have no isatty method

For example in DAE sys.stderr is an instance of StreamWrapper.
make pymesos a separate package & support mesos 0.20
test wc.py
Merge branch 'master' of git://github.com/douban/dpark