BMC: Store RedundancyPriority on System.

This commit extends the functionality of the BMC software updater by
preserving RedundancyPriority values through any kind of reset.

This is accomplished by storing priority values in serial files in
/var/lib/obmc/phosphor-bmc-code-mgmt/ using the Cereal library. Each
time a priority value is modified, the value in the corresponding
version file is adjusted.

Resolves openbmc/openbmc#2125

Change-Id: Ie697279895bc5ff5fdef31fa88c78dc2bc63390a
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index e652205..0af1b6d 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,6 +36,7 @@
 phosphor_image_updater_SOURCES = \
 	activation.cpp \
 	version.cpp \
+	serialize.cpp \
 	item_updater.cpp \
 	item_updater_main.cpp