types REFACTOR move enumeration-specific functions into a standalone source file

Split the plugins_types.c file to distinct internal implementation of
plugins types API and the (base) type plugins themselves.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6c662d8..f6b4b57 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -139,6 +139,7 @@
     src/plugins_types_boolean.c
     src/plugins_types_decimal64.c
     src/plugins_types_empty.c
+    src/plugins_types_enumeration.c
     src/plugins_types_integer.c
     src/plugins_types_string.c
     src/plugins_exts.c