regulators: Implement i2c_capture_bytes action

Implement the new i2c_capture_bytes action in the JSON configuration
file.

Create gtests to test the new class.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: Ie43e147a0a076090729871140bb5889c74323d19
diff --git a/phosphor-regulators/test/meson.build b/phosphor-regulators/test/meson.build
index 57200a4..f036dbb 100644
--- a/phosphor-regulators/test/meson.build
+++ b/phosphor-regulators/test/meson.build
@@ -33,6 +33,7 @@
     'actions/compare_presence_action_tests.cpp',
     'actions/compare_vpd_action_tests.cpp',
     'actions/i2c_action_tests.cpp',
+    'actions/i2c_capture_bytes_action_tests.cpp',
     'actions/i2c_compare_bit_action_tests.cpp',
     'actions/i2c_compare_byte_action_tests.cpp',
     'actions/i2c_compare_bytes_action_tests.cpp',