apps+helper+utils: Fixes of consumer and producer apps to work with the new codebase

This commit also replaces boost::tuple with std::tuple in Batches class

Credits for the commit also to Spyros Mastorakis and Alex Afanasyev
diff --git a/utils/batches.cpp b/utils/batches.cpp
index 6f593e3..bce3d96 100644
--- a/utils/batches.cpp
+++ b/utils/batches.cpp
@@ -28,7 +28,7 @@
 operator<<(std::ostream& os, const Batches& batch)
 {
   for (Batches::const_iterator i = batch.begin(); i != batch.end(); i++)
-    os << i->get<0>() << " " << i->get<1>() << " ";
+    os << std::get<0>(*i) << " " << std::get<1>(*i) << " ";
 
   return os;
 }