add patch discussed in https://github.com/karma-runner/karma-teamcity-reporter/issues/5#issuecomment-36894560
- this causes writes to stdout to execute synchronously so that process
  won't exit before all output has been written