AU: Try delta updates first, then full updates

Also, some bug fixes.

Review URL: http://codereview.chromium.org/492008
diff --git a/action_pipe_unittest.cc b/action_pipe_unittest.cc
index 28cf248..b0a96b7 100644
--- a/action_pipe_unittest.cc
+++ b/action_pipe_unittest.cc
@@ -2,10 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include <string>
 #include <gtest/gtest.h>
 #include "update_engine/action.h"
 #include "update_engine/action_pipe.h"
 
+using std::string;
+
 namespace chromeos_update_engine {
 
 using chromeos_update_engine::ActionPipe;