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