Reland of Add Jpeg frame writer for test support.

Also, use it to save worst psnr frame in video quality tests. It is indented that these saved frames from perfbots will be uploaded to the cloud and will be available in chrome perf dashboard. Because of that size of the saved frame is somewhat an issue. Also, y4m is not convenient to view.

BUG=webrtc:8030

Review-Url: https://codereview.webrtc.org/2998143002
Cr-Commit-Position: refs/heads/master@{#19450}
diff --git a/webrtc/test/DEPS b/webrtc/test/DEPS
index 1d44a07..9d4e6af 100644
--- a/webrtc/test/DEPS
+++ b/webrtc/test/DEPS
@@ -1,4 +1,6 @@
 include_rules = [
+  "+third_party/libjpeg",
+  "+third_party/libjpeg_turbo",
   "+webrtc/base",
   "+webrtc/call",
   "+webrtc/common_audio",