update_engine: Move ext2 tools to its own file in payload_generator.

update_engine doesn't need to understand about the rootfs filesystem
format, just how to apply the defined operations. This patch moves
the few ext2fs specific code the payload_generator and removes the
dependency on ext2fs from update_engine.

BUG=chromium:394184
TEST=FEATURES="test" emerge-link update_engine; sudo emerge update_engine

Change-Id: If750e4834d42bbeaeddc6eff7c4690dd916c73bf
Reviewed-on: https://chromium-review.googlesource.com/208992
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
diff --git a/payload_generator/metadata_unittest.cc b/payload_generator/metadata_unittest.cc
index 14e21ae..dcce0c3 100644
--- a/payload_generator/metadata_unittest.cc
+++ b/payload_generator/metadata_unittest.cc
@@ -2,6 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include <ext2fs/ext2fs.h>
 #include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/types.h>