Refactor code for uploading different types of certificates

Introduced new Certificate class that caters for a certificate
upload and certificate replace.

As part of refactoring moved the validation of certificate
from Manager class to Certificate class so that the logic
can be used both for replacing of an existing certificate
and also for certificate upload.

Disabling test cases as complete functionality is not
available in the patches due to refactoring

Change-Id: Ia51db8cc81881a1c3c63dd2ca1c6f16a8d52a13f
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index b573cdb..5178b67 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,8 @@
 # Build these headers, don't install them
 noinst_HEADERS = \
 	certs_manager.hpp \
-	argument.hpp
+	argument.hpp \
+	certificate.hpp
 
 sbin_PROGRAMS = \
 	phosphor-certificate-manager
@@ -11,7 +12,8 @@
 phosphor_certificate_manager_SOURCES = \
 	mainapp.cpp \
 	certs_manager.cpp \
-	argument.cpp
+	argument.cpp \
+	certificate.cpp
 
 phosphor_certificate_manager_LDFLAGS = \
 	$(SDBUSPLUS_LIBS) \