Improve logic of ExitTestHelper::getFirstExitOutput()

If no exit() was invoked, returns all contents in output buffer. This
behavior will help you to remove 'ugly' exit() invoking, from your
product code.