Do more stdout checking.

Make producing unexpected output an error and increase buffers
significantly to allow debugging output.

Add a CT_FLAG_STDOUT_IGNORE flag for expected output that we can't
really check such as register contents or time.