inventory: implement deserialization

Use Cereal to deserialize inventory information persisted in the
filesystem and restore that to create inventory d-bus objects. Perform
the restore when the app starts.

Change-Id: I0f36a9cbdde223e4bfd9e178e33f5677217ba881
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/generated.mako.cpp b/generated.mako.cpp
index 7eeb8c4..6fc1521 100644
--- a/generated.mako.cpp
+++ b/generated.mako.cpp
@@ -31,7 +31,10 @@
                     ${i.namespace()}>>::assign,
             MakeInterface<
                 ServerObject<
-                    ${i.namespace()}>>::serialize
+                    ${i.namespace()}>>::serialize,
+            MakeInterface<
+                ServerObject<
+                    ${i.namespace()}>>::deserialize
         )
     },
 % endfor