move types.hpp to ipmid/types.hpp for export

types.hpp is required by utility.hpp, which is exported, so it needs to
be exported as well. This moves it to the include/libipmid directory,
changes the Makefile to export it, and changes all the files that
include it so it can be found in the right place.

Change-Id: I30ec365446e4de466c266ec4faa327478460ec05
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/apphandler.cpp b/apphandler.cpp
index 0993139..bb7e192 100644
--- a/apphandler.cpp
+++ b/apphandler.cpp
@@ -5,7 +5,6 @@
 #include "ipmid.hpp"
 #include "sys_info_param.hpp"
 #include "transporthandler.hpp"
-#include "types.hpp"
 
 #include <arpa/inet.h>
 #include <ipmid/api.h>
@@ -18,6 +17,7 @@
 #include <array>
 #include <cstddef>
 #include <fstream>
+#include <ipmid/types.hpp>
 #include <ipmid/utils.hpp>
 #include <memory>
 #include <nlohmann/json.hpp>