yahoo/mojito — pull request #692 by isao (2012-10-31 22:40:31+00:00)
Title: fix bz 5904449 garbled console output on node 0.8+

if process.stdout is not a tty (i.e. a pipe) the
console.log interpreted the message as an object,
not a (colorized) string.

note: warn() & error() previously wrote to stdout,
now write to stderr.

cherry-picked from 3fd55c9f975bd44c59f5bfd8db7f89322010d981

Conflicts:
lib/management/utils.js