Splitted FileHandler into FrameReader and FrameWriter classes and moved them to testsupport in test.gyp.

Fixed unit tests so they don't use ASSERT_DEATH since that doesn't work with Valgrind.

Fixed all Valgrind warnings except the one caused by CriticalSectionWrapper in system_wrappers.

Reworked all includes and GYP include paths to use full directory paths.

Removed util.h for logging, since it rendered warnings in Valgrind because of gflags. Replaced it with a verbose flag and a new function in video_quality_measurement.cc

BUG=
TEST=Passed test_support_unittests and video_codecs_test_framework_unittests on Linux, Mac and Windows.

Review URL: http://webrtc-codereview.appspot.com/311001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1126 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/test/testsupport/fileutils.h b/test/testsupport/fileutils.h
index cd43c69..c89ac29 100644
--- a/test/testsupport/fileutils.h
+++ b/test/testsupport/fileutils.h
@@ -8,6 +8,8 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
+#include <cstdio>
+
 // File utilities for testing purposes.
 //
 // The ProjectRootPath() method is a convenient way of getting an absolute
@@ -59,8 +61,8 @@
 // /Users/user/webrtc/trunk/out/Debug
 // (or any other directory below the trunk for that matter).
 
-#ifndef TEST_TESTSUPPORT_FILEUTILS_H_
-#define TEST_TESTSUPPORT_FILEUTILS_H_
+#ifndef WEBRTC_TEST_TESTSUPPORT_FILEUTILS_H_
+#define WEBRTC_TEST_TESTSUPPORT_FILEUTILS_H_
 
 #include <string>
 
@@ -131,7 +133,11 @@
 // false if a file with the same name already exists.
 bool CreateDirectory(std::string directory_name);
 
+// File size of the supplied file in bytes. Will return 0 if the file is
+// empty or if the file does not exist/is readable.
+size_t GetFileSize(std::string filename);
+
 }  // namespace test
 }  // namespace webrtc
 
-#endif  // TEST_TESTSUPPORT_FILEUTILS_H_
+#endif  // WEBRTC_TEST_TESTSUPPORT_FILEUTILS_H_