Fixing output handling in the annotator. This should: 1. eliminate lost log data due to log lines / early terminate. 2. support stderr + stdout + header output. NOTE: on linux / mac, if pty support is enabled (the default) stdout and stderr get merged. This can be turned off by adding usePTY=False to addStep. 3. output should arrive more immediately, as it doesn't wait for newlines. 4. timeout messages should reach the timed out stage.
Fixing output handling in the annotator.
This should:
1. eliminate lost log data due to log lines / early terminate.
2. support stderr + stdout + header output.
NOTE: on linux / mac, if pty support is enabled (the default) stdout and stderr
get merged. This can be turned off by adding usePTY=False to addStep.
3. output should arrive more immediately, as it doesn't wait for newlines.
4. timeout messages should reach the timed out stage.

BUG=None
TEST=None
R=cmasone@chromium.org
Review URL: http://codereview.chromium.org/8348022

git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@106190 0039d316-1c4b-4281-b951-d872f2087c98

eunchong/build,eunchong/build,eunchong/build,eunchong/build