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/ipmid-new.cpp b/ipmid-new.cpp
index a92d4c4..26c9de4 100644
--- a/ipmid-new.cpp
+++ b/ipmid-new.cpp
@@ -30,6 +30,7 @@
 #include <ipmid/message.hpp>
 #include <ipmid/oemrouter.hpp>
 #include <ipmid/registration.hpp>
+#include <ipmid/types.hpp>
 #include <map>
 #include <memory>
 #include <optional>
@@ -41,7 +42,6 @@
 #include <sdbusplus/bus/match.hpp>
 #include <sdbusplus/timer.hpp>
 #include <tuple>
-#include <types.hpp>
 #include <unordered_map>
 #include <utility>
 #include <vector>