do not colorize test.js output if there is no tty [gh809,bz5964521]

* use process.*.isTTY instead of require('tty').istty()
* tested on node 0.6, 0.8
* n.b. some app and addon Y.log() messages remain tty unaware.