AU: Class to perform delta updates.

A class to perform delta updates and the associated unittests. Also,
change the delta diff generator executable to be able to apply a
delta, which is handy for debugging.

TEST=Attached unit test, hand-tested on real build images
BUG=552

Review URL: http://codereview.chromium.org/1718001
diff --git a/graph_utils.cc b/graph_utils.cc
index dd3cdcf..5ad67cf 100644
--- a/graph_utils.cc
+++ b/graph_utils.cc
@@ -11,8 +11,8 @@
 
 namespace graph_utils {
 
-uint64 EdgeWeight(const Graph& graph, const Edge& edge) {
-  uint64 weight = 0;
+uint64_t EdgeWeight(const Graph& graph, const Edge& edge) {
+  uint64_t weight = 0;
   const vector<Extent>& extents =
       graph[edge.first].out_edges.find(edge.second)->second.extents;
   for (vector<Extent>::const_iterator it = extents.begin();
@@ -23,7 +23,7 @@
   return weight;
 }
 
-void AppendBlockToExtents(vector<Extent>* extents, uint64 block) {
+void AppendBlockToExtents(vector<Extent>* extents, uint64_t block) {
   if (!extents->empty()) {
     Extent& extent = extents->back();
     if (block == kSparseHole) {